Home forums Using CanvasJS Pie chart index label for 0 Reply To: Pie chart index label for 0


Vishwas R


Please refer to indexLabelFormatter documentation. You can use dataSeries, datapoint, index, total, percent, chart within indexLabelFormatter function. So when y-value is not 0, returning e.percent will fulfill your requirement. Here is the updated jsfiddle.