Home forums Using CanvasJS Automatically updating y axis on dynamic charts Reply To: Automatically updating y axis on dynamic charts

#28929

I tried making a jsfiddle, but it wasnt working. Basically, my problem is that I am trying to make a graph that doesn’t go below 0. But, If It gets into values of 4000, then the y axis only shows whats from 0 up to wherever it is. Is there a way to make it so that when the y values are around a high number, like 4000, the y axis will update so that it isn’t static at 0. Here is a jsfiddle that I modified that demonstrates this. (check 2nd chart) https://jsfiddle.net/q945bvej/2/ I want it to be automatically zoomed in closer to where the data is so you can see every little change, but I don’t know how to do that.

  • This reply was modified 1 month, 3 weeks ago by nonprohacker.