Home forums Using CanvasJS display legent without data Reply To: display legent without data

#20496

Vishwas R
Keymaster

Larry,

You can add an empty object to dataPoints to show legend and remove the empty object when you update dataPoints. Please take a look at this jsfiddle.


Vishwas R
Team CanvasJS