Nevron Forum
Back
Login
Register
Login
Register
Home
»
Nevron Vision for NET
»
Nevron Chart for .NET
»
Fix gauge range to the actual input range without calcualting to...
Fix gauge range to the actual input range without calcualting to "nice" values - how?
Post Reply
Fix gauge range to the actual input range without calcualting to...
View
Flat Ascending
Flat Descending
Threaded
Options
Subscribe to topic
Print This Topic
Goto Topics Forum
Author
Message
Kevin Harrison 1
Kevin Harrison 1
posted 10 Years Ago
ANSWER
Post Details
Group: Forum Members
Posts: 176,
Visits: 1.9K
Thanks. I agree the current behaviour is much better but some users want the option to absolutely fix the range.
Thanks
Kevin
Reply
Like
0
Nevron Support
Nevron Support
posted 10 Years Ago
ANSWER
Post Details
Group: Administrators
Posts: 3.1K,
Visits: 4.2K
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
Reply
Like
0
Kevin Harrison 1
Kevin Harrison 1
posted 10 Years Ago
ANSWER
Topic Details
Group: Forum Members
Posts: 176,
Visits: 1.9K
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
Reply
Like
0
GO
Merge Selected
Merge into selected topic...
Merge into merge target...
Merge into a specific topic ID...
Open Merge
Post Reply
Similar Topics
Post Quoted Reply
Reading This Topic
Login
Login
Remember Me
Reset Password
Resend Validation Email
Login
Explore
Messages
Mentions
Search