Home › forums › Using CanvasJS › unwanted Y-axis values › Reply To: unwanted Y-axis values
Minimum ans maximum of axis gets calculated automatically by the library. But in few cases of very small values, minimum gets calculated to lessthan 0. We will reconsider this behavior in out future releases. However you can workaround this by checking if there are any negative dataPoints or not, even incase of dynamic charts. Please take look at this updated JSFiddle.