Home › forums › Using CanvasJS › Automatically updating y axis on dynamic charts › Reply To: Automatically updating y axis on dynamic charts
here is an example of what happens (see chart 2)https://jsfiddle.net/q945bvej/2/ I need it so that the y value can’t go below 0. But I also need it so that if the y value is a large number, that the chart will automatically zoom in so you can see the changes better than just a linear line. Is there some way to modify the y axis to a range between each newly generated data point? So, if the y value generated is 10,000 then the y axis range would be from 9000 to 11000. Then, if the next point is 5,000 the y axis range would automatically zoom to 4,000 and 6,000. I feel as if I am not explaining this well.