Nevron Forum
Back
Login
Register
Login
Register
Home
»
Nevron Vision for NET
»
Nevron Chart for .NET
»
Axis range and step at runtime
Axis range and step at runtime
Post Reply
Axis range and step at runtime
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 the graph above as an example. The right axis is auto ranging and the left axis has a manually defined range and step based on the values of the right axis. Is there a way to determine what the auto range of the right axis is going to be after it is created? Ideally I would like to know the Min and Max value, and the step it is using, for example the graph above would be 350, 600, and 50.
Reply
Like
0
Nevron Support
Nevron Support
posted 7 Years Ago
ANSWER
Post Details
Group: Administrators
Posts: 3.1K,
Visits: 4.2K
Hi Rich,
You can get the axis range after the chart is recalculated for a given size (that's because the automatic step is calculated depending on the range of the data and the size of the axis on the screen/printer etc.):
nChartControl1.RecalcLayout();
NRange1DD axisRange = nChartControl1.Charts[0].Axis(StandardAxis.PrimaryY).Scale.RulerRange;
Currently there is no way to determine the automatic step.
Best Regards,
Nevron Support Team
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