Use graduatedPointForValue to position ticks

Yep that’s the next step for me, I will try to enhance the template.

Right now I think I will go with two GraduatedPanels :

  • One to display just the Min and the Max ticks
  • The second one for the other ticks.

Another question : In this example here I don’t understand why the GraduatedPanel does not display the max tick 1000000000.
Despite I see the same value if I use it as the minimum.
So I guess it’s not a limit or something. Is there any reason for that ? How could I fix this issue ?

Also, I noticed that there are some issues in the graduatedSkip when I use real numbers due to the floating numbers. Sometimes the tick argument in the graduatedSkip method returns weird numbers like 0.199999999 instead of 0.2. I am using a hack to round the numbers according to theirs precisions and then I use graduatedFunction in the tick TextBlock to display the accurate number.