Skip to content

Commit

Permalink
fix(area chart legacy): tool tip shows actual value rather than y axi… (
Browse files Browse the repository at this point in the history
  • Loading branch information
AkashBoora authored Mar 31, 2023
1 parent 330e79b commit db9ca20
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -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>';
});
Expand Down

0 comments on commit db9ca20

Please sign in to comment.