Home › forums › Using CanvasJS › automatic Y max/min
Sometimes when a chart has only values around 99.9 the min value of the Y axis is set as 0.
In this case a min value of 99.8 would be great and I don’t want to set a min value, because the values could change in the future.
Is this a bug or I’m doing something wrong?
You can set axisY’s includeZero property to false in these cases in order to keep axis minimum closer to given y values. Here is the example on how to use includeZero
Please let me know if this works for you.
Its working, thanks.
You must be logged in to reply to this topic.