Home forums Using CanvasJS Time axis with valueFormatString not working Reply To: Time axis with valueFormatString not working

#19284

Indranil Deo
Member

@ahmedcharef,

Passing the Date to dataPoints in the standard JavaScript DateTime format new Date("2018-01-07T20:51:05.000Z") will work fine in your case. Please take a look at this jsfiddle.

___________
Indranil Deo,
Team CanvasJS