Home forums Using CanvasJS Ignore data with zero property

This topic contains 1 reply, has 2 voices, and was last updated by  Vishwas R 2 months, 3 weeks ago.

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

    Is there a way to prevent a baseline of zero from appearing for data that has a value of zero?

    There is no data for the entire graph for a variable, and so we are getting a flat line at zero.

    #26027

    @trifectait,

    There is no data for the entire graph for a variable, and so we are getting a flat line at zero.

    Do you mean hiding axis line? If so, you can set axisX lineThickness property to 0 to do so.

    If this doesn’t fulfill your requirements kindly share JSFiddle with sample data or a pictorial representation of your requirement so that we can understand it better and help you out.


    Vishwas R
    Team CanvasJS

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

You must be logged in to reply to this topic.