Group: Forum Members
Last Active: 3 Years Ago
Posts: 176,
Visits: 1,865
|
When I set the range on an NGaugeAxis to, say, (3, 97) , the scale displayed on the gauge is (0, 100). Is there any way I can prevent this rounding occurring? Thanks Kevin
|
Group: Forum Members
Last Active: Yesterday @ 1:54 AM
Posts: 3,054,
Visits: 4,009
|
Hi Kevin, Hi Kevin, All scales in the control by default round to the nearest min/max ticks for aesthetical reasons. To turn off this feature you can write: NStandardScaleConfigurator scale = chart.Axis(StandardAxis.PrimaryX).ScaleConfigurator as NStandardScaleConfigurator; scale.RoundToTickMax = false; scale.RoundToTickMin = false; Let us know if you meet any problems.
Best Regards, Nevron Support Team
|
Group: Forum Members
Last Active: 3 Years Ago
Posts: 176,
Visits: 1,865
|
Thanks. I agree the current behaviour is much better but some users want the option to absolutely fix the range. Thanks Kevin
|