That’s what I am using. It’s commented in the example I provided to demonstrate the issue.
In my Graduated Widget, the user can modify the
min values. The number of displayed ticks is set according to the desiredSize of Knob. Therefore, I am using
graduatedSkip to display N ticks.
That means, if
graduatedSkip returns a floating number I need to match that value to the pre-defined list of ticks to decide whether to display it or not. Then as you said, I need to adjust the displayed tick value using
graduatedFunction. Finally, the formatting the returned result of the
Indicator as well.
By doing that there is sometimes an inaccuracy between the Formated Tick and it’s real value but that’s a minor issue since it’s impossible to detect in the UI, I guess ? Not sure if the min and max are close values like (0.00000001, 0.000000011 with 100 ticks to display)
For me, almost, everything working fine - except I have tons of logic to adjust the returned tick values and predict which base 10 value is the closest to the tick.