Home Forums Chart Support Date Format Reply To: Date Format

#20939

Hi Priyanka,

I extracted the data from database using this tutorial:
https://canvasjs.com/php-charts/chart-data-from-database/

The data looks like below:

dataPoints: [
{ x: 2018-05, y: 71 },
{ x: 2018-06, y: 55 },
{ x: 2018-07, y: 50 },
{ x: 2018-09, y: 65 },
]

Any way to show no data for 2018-08?

p/s: I’m not sure how to put it on jsfiddle