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
…s value
  • Loading branch information
AkashBoora committed Mar 23, 2023
1 parent 212b733 commit a9dec12
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 a9dec12

Please sign in to comment.