Overriding scaling decisions in YAxis Autofit
Posted: Fri Jan 20, 2017 10:56 am
Hi!
For some xy graphs, we would like handle scaling in a customized way: The Y minimum should be 0 and the Y maximum should always be rounded up to 10^n, 2*10^n or 5*10^n.
So 0.01, 200 or 5, but not 15 or 3.5 - in this case the axis should go to 20 or 5 respectively.
Now, we can do the computation ourselves, given the max Y value - but is there an easy way to make this be called when AutoFit is used?
For some xy graphs, we would like handle scaling in a customized way: The Y minimum should be 0 and the Y maximum should always be rounded up to 10^n, 2*10^n or 5*10^n.
So 0.01, 200 or 5, but not 15 or 3.5 - in this case the axis should go to 20 or 5 respectively.
Now, we can do the computation ourselves, given the max Y value - but is there an easy way to make this be called when AutoFit is used?