Home forums Using CanvasJS MySQL xAxis date format Reply To: MySQL xAxis date format

#7089

Anjali
Participant

Hi,

CanvasJS Expects the value to be either timeStamp or Date object – stings are not parsed automatically. Hence you can either parse the date at client side or use the time Stamp value.

For displaying the time you can use the valueFormatString property.

Here is an example.

___
Anjali