I want to have fixed Ymin and Ymax values for Y axis.
But if there is a data point that has value less than Y min or Greater than Y max; then I will try to zoom that portion of graph and expect the Y axis scale to change when zoomed as per the value of that datapoint. But the Yaxis scale remains same even when zoomed. Is there any way to change the scale when zoomed?
When I dont set the minimum and maximum values of Y axis then graph automatically calculates the min and max values depending on the zoomed portion. That means it has this intelligence built in to decide the min and max values depending on zoomed portion.
Can I get these values and directly use these returned values in above mentioned api’s so that zooming scales the Y axis.
Currently It is able to scale Y axis when zoomed but as I am passing “null” value to above API’s; the scaling range is always -5 to 5.
We currently don’t have a way to access minimum and maximum values that are auto calculated. At the same time we think the chart should not override the values initially set by the user while zooming – which defeats the purpose of setting minimum and maximum (by users). Hence we don’t intend to implement the same.