Home forums Using CanvasJS MYSQL Temperature Data with Time live chart Reply To: MYSQL Temperature Data with Time live chart

#25679

@sundara-murthy-s,

There seems to be a typo, please try changing the value of xValueType from “datetime” to “dateTime”.

You may need to convert PHP timestamp to JavaScript timestamp as PHP timestamp is in seconds and JavaScript timestamp is in milliseconds. Please refer this stackoverflow thread for more info.

___________
Indranil Deo
Team CanvasJS