fix(area chart legacy): tool tip shows actual value rather than y axi… (#23469)

This commit is contained in:
akashboora
2023-03-31 10:31:53 +05:30
committed by GitHub
parent 330e79bc5d
commit db9ca20737

View File

@@ -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>';
});