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

#20501

larry
Member

Vishwas,

this is better solution for me, but I still have problem:

Xaxis is Date , I dont know what will be the Date I receive (its realTimeChart, Date can be random),
so lets say I set the dummy data to ‘April 30, 2018’ for ‘series1’ but ‘series2’ getting data with xValue: ‘April 30, 2022’.

it will cause an empty gap betwen ‘April 30, 2018’ – ‘April 30, 2022’

Thanks,
Larry