Home forums Using CanvasJS Date Format Reply To: Date Format

#20939

liyen
Member

Hi Priyanka,

I extracted the data from database using this tutorial:

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