Home › forums › Using CanvasJS › Loading Data to Canvas › Reply To: Loading Data to Canvas
X-values can either be number or valid date-time object. In your case, its not valid date-object. Changing x: date[i], to x: new Date(date[i]), and passing date-time in one of the valid formats should work fine in this case.
x: new Date(date[i]),
Still, if you are facing any issue or have other requirements please create a jsfiddle reproducing the issue you are facing so that we can understand your requirement better and help you out.