By Kevin Harrison 1 - Wednesday, November 4, 2015
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
|
By Nevron Support - Thursday, November 5, 2015
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.
|
By Kevin Harrison 1 - Thursday, November 5, 2015
Thanks. I agree the current behaviour is much better but some users want the option to absolutely fix the range. Thanks Kevin
|
|