I actually came up with a different solutions but I am not sure if it works with any value:
First I calculate the Maximun and Minimun and set them in the axe, then I set the MajorStep = MAximun - Minimun.
It works only for integers but for me it's enough till your advice will be implemented.
EDIT: forget it, it's bullshit, it works randomly... sic...
First I calculate the Maximun and Minimun and set them in the axe, then I set the MajorStep = MAximun - Minimun.
It works only for integers but for me it's enough till your advice will be implemented.
EDIT: forget it, it's bullshit, it works randomly... sic...