mirror of
https://github.com/apache/superset.git
synced 2026-04-17 07:05:04 +00:00
fix(area chart legacy): tool tip shows actual value rather than y axi… (#23469)
This commit is contained in:
@@ -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>';
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user