mirror of
https://github.com/apache/superset.git
synced 2024-09-12 00:29:39 -04:00
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
Block a user