Home forums Using CanvasJS Cannot set a string array to x-axis in a responsive chart Reply To: Cannot set a string array to x-axis in a responsive chart

#24055

@kris,

You can achieve the above requirement by passing dataPoint x-value as Date Object and the corresponding y-value as numeric. Please take a look at this documentation page to render a chart with Date & Time axis.

___________
Indranil Deo,
Team CanvasJS