mirror of https://github.com/apache/superset.git
fix(area chart legacy): tool tip shows actual value rather than y axi… (#23469)
This commit is contained in:
parent
330e79bc5d
commit
db9ca20737
|
@ -203,7 +203,7 @@ export function generateAreaChartTooltipContent(
|
|||
series.key === 'TOTAL' ? '' : '◼'
|
||||
}</td>` +
|
||||
`<td>${key}</td>` +
|
||||
`<td>${valueFormatter(series.value)}</td>` +
|
||||
`<td>${valueFormatter(series?.point?.y)}</td>` +
|
||||
`<td>${((100 * series.value) / total).toFixed(2)}%</td>` +
|
||||
'</tr>';
|
||||
});
|
||||
|
|
Loading…
Reference in New Issue