Home Forums Chart Support Pie chart label and tooltip in number values and not percentages Reply To: Pie chart label and tooltip in number values and not percentages

#25705

@driven13,

The y-value shown in indexLabel and toolTip depends on yValueFormatString and other properties like toolTipContent, contentFormatter may over-ride the value shown in toolTip. Setting indexLabel, toolTipContent / content properties properly should work fine in your case.

Please take a look at this JSFiddle for a working example with sample code.

CanvasJS basic pie chart

If this doesn’t solve the issue you are facing. kindly share JSFiddle with sample data so that we can look into the options that you are using, understand the scenario better and help you out.


Shashi Ranjan
Team CanvasJS