HI
I want a Simple Date Area chart to set the x axis to 0 if no dataset is present for that particular date
e.g.
In the below there is no value for date 3rd Jan so for this date the x axis should set to zero which in my case is not setting.
data: [
{
type: “area”,
dataPoints: [//array
{ x: new Date(2012, 01, 1), y: 26},
{ x: new Date(2012, 01, 2), y: 43},
{ x: new Date(2012, 01, 4), y: 54}
]
}
]
});
https://canvasjs.com/docs/charts/basics-of-creating-html5-chart/date-time-axis/