Home › forums › Using CanvasJS › Default 'y' value
I have a spline chart with 1 day interval on X axis and populated with values on some of the days.
As expected, the spline interpolation binds all points together, but I want it to default ‘y’ value to 0 on the days where there is no value at all.
Is it possible? How can I achieve this without having to create 0 values myself?
Sorry if I didn’t make myself clear.
You need to create dataPoints with y values set to 0. It is not possible to do it automatically.
You must be logged in to reply to this topic.