Home forums Using CanvasJS Problem with MYSQL to PHP to CanvasJS charts Reply To: Problem with MYSQL to PHP to CanvasJS charts

#19934

Vishwas R
Keymaster

@naveenkumarnair,

The php service returns dataPoints, with x-values that are not valid JavaScript Date object. So parsing it and then passing it to chart-options should work fine in your case. Please take a look at this jsfiddle.


Vishwas R
Team CanvasJS