Nevron Forum
Back
Login
Register
Login
Register
Home
»
Nevron Vision for NET
»
Nevron Chart for .NET
»
Axis manual ranging
Axis manual ranging
Post Reply
Axis manual ranging
View
Flat Ascending
Flat Descending
Threaded
Options
Subscribe to topic
Print This Topic
Goto Topics Forum
Author
Message
rich dudley
rich dudley
posted 7 Years Ago
ANSWER
Topic Details
Group: Forum Members
Posts: 33,
Visits: 76
Using these settings I would expect the graph axis to have steps at 350, 405, 460, 515 570, 625. Unfortunately this is not the case. What do I need to do to make this happen?
chart.Axis(StandardAxis.PrimaryY).View = new NRangeAxisView(new NRange1DD(350, 625), true, true);
((NStandardScaleConfigurator)chart.Axis(StandardAxis.PrimaryY).ScaleConfigurator).MajorTickMode = MajorTickMode.CustomStep;
((NLinearScaleConfigurator)chart.Axis(StandardAxis.PrimaryY).ScaleConfigurator).CustomStep = 55;
((NLinearScaleConfigurator)chart.Axis(StandardAxis.PrimaryY).ScaleConfigurator).RoundToTickMax = false;
((NLinearScaleConfigurator)chart.Axis(StandardAxis.PrimaryY).ScaleConfigurator).RoundToTickMin = false;
This is the result.
Reply
Like
0
GO
Merge Selected
Merge into selected topic...
Merge into merge target...
Merge into a specific topic ID...
Open Merge
Threaded View
Threaded View
Axis manual ranging
rich dudley
-
7 Years Ago
HiRich, You also need to modify the axis origin as by default...
Nevron Support
-
7 Years Ago
Post Reply
Similar Topics
Post Quoted Reply
Reading This Topic
Login
Login
Remember Me
Reset Password
Resend Validation Email
Login
Explore
Messages
Mentions
Search