Home › forums › Using CanvasJS › Ignore data with zero property
This topic contains 1 reply, has 2 voices, and was last updated by Vishwas R 1 month ago.
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.
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.
You must be logged in to reply to this topic.