Percentage tool tip in JavaScript Chart control
18 Nov 20181 minute to read
By using the tooltipRender event, you can show the percentage value for each point of pie series in tooltip.
To show the percentage value in pie tooltip, follow the given steps:
Step 1:
By using the tooltipRender event, you can get the args.point.y and args.series.sumOfPoints values. You can use these values to calculate the percentage value for each point of pie series. To display the percentage value in tooltip, use the args.content property.