Group: Forum Members
Last Active: 10 Years Ago
Posts: 3,
Visits: 1
|
Hello, I am using my own NNumericValueFormatter object to alter the values displayed in the labels on a NLinearScaleConfigurator. In my formatter I have the following scenario..
The real value which is in the Nevron axis is 10 I then format this value to 10.01
The problem I have is that the major tick is generated using the real value and not the formatted value. Therefore I have a major tick (and therefore a label) at the real value of 10, but at the displayed value of 10.01.
I want to have my major ticks displayed to the user aligned with whole numbers (in this case 10).
I'm therefore looking for some sort of offset I can apply. I see there is also the option of specifying all the CustomMajorTick values in the scale configurator, but this is a rather complex solution given the highly varied data sets we display.
Many thanks in advance. Heath
|