Home forums Using CanvasJS How to hide data or label when the value is 0 Reply To: How to hide data or label when the value is 0

#22002

Priyanka M S
Member

@gnutzmann,

Setting chart.options.data[0].dataPoints[i].indexLabelLineThickness = 0; should work fine in your case.
Please take a look at this updated sample code.

__
Priyanka M S
Team CanvasJS