Home › forums › Chart Support › JSON and the Line Chart › Reply To: JSON and the Line Chart
JSON doesn’t have a standard way to specify date objects.
Best way is to send timestamp values instead. CanvasJS accepts timestamp values when xValueType property is set to “dataTime” as shown here.
You can also use any of the custom formats and parse them on the client side before assigning it to the chart.