Home forums Using CanvasJS What if, all y : data is 0 ? Reply To: What if, all y : data is 0 ?

#18595

Sanjoy
Moderator

nik.sol,

One more help in similar case,
We need to hide legends in this situation as well.

You can achieve this by toggling showInLegend property. Please take a look at this updated jsfiddle.


Sanjoy Debnath
Team CanvasJS