Home forums Using CanvasJS How to update indexLabel with label and value. Reply To: How to update indexLabel with label and value.

#17358

Indranil Deo
Member

@jeppy7,

You are setting the indexLabel at dataPoint level. Instead, setting it at dataSeries level will work fine in your case.
chart.options.data[0].indexLabel = "{label} {y}";

__________
Indranil Deo,
Team CanvasJS