Home forums Using CanvasJS Default 'y' value

This topic contains 1 reply, has 2 voices, and was last updated by  Sunil Urs 2 years, 9 months ago.

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
  • #5646


    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.


    Sunil Urs


    You need to create dataPoints with y values set to 0. It is not possible to do it automatically.


Viewing 2 posts - 1 through 2 (of 2 total)

You must be logged in to reply to this topic.