Nevron Forum
Home
»
Nevron Vision for NET
»
Nevron Chart for .NET
»
Using NTrackBar Values to dynamically/interactively update graph axes
Login
Register
Login
Register
Home
»
Nevron Vision for NET
»
Nevron Chart for .NET
»
Using NTrackBar Values to dynamically/interactively update graph axes
Using NTrackBar Values to dynamically/interactively update graph axes
Post Reply
Using NTrackBar Values to dynamically/interactively update graph axes
View
Flat Ascending
Flat Descending
Threaded
Options
Subscribe to topic
Print This Topic
Goto Topics Forum
Author
Message
Eyon Butterworth
Eyon Butterworth
posted 4 Years Ago
ANSWER
Topic Details
Group: Forum Members
Posts: 1,
Visits: 9
I'm new to programming. Well, object based programming and the concepts I have to get used to.
What I am trying to do is basically update the graph view/axes dynamically and interactively by using NTrackBar. I'm using 4 trackbars, two per axis, that will allow the user to dynamically change the graph view. These values are displayed in a textbox for the user.
How does one dynamically update the range view using the endpoint values displayed in textboxes? Any help for this newbie would be greatly appreciated.
Thanks
Eyon
Tags
Dynamically update rangeview
NTrackBar
Reply
Like
0
Nevron Support
Nevron Support
posted 4 Years Ago
ANSWER
Post Details
Group: Administrators
Posts: 3.1K,
Visits: 4.1K
Hi Eyon,
To specify an axis range you must change the axis view to range axis view - for exampe:
NChart chart = nChartControl1.Charts[0];
chart.Axis(StandardAxis.PrimaryY).View = new NRangeAxisView(new NRange1DD(0, 100), true, true);
nChartControl1.Refresh();
will limit the Y axis to show values in the range 0 - 100. Is this the functionality you're looking for? - or maybe you want to allow the user to also use scrolling / panning - if this is the case just let us know and we'll post code to accomplish this.
Let us know if you have any questions or meet any problems.
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
2 active, 2 guests, 0 members, 0 anonymous
No members currently viewing this topic!
Login
Login
Remember Me
Reset Password
Resend Validation Email
Login
Explore
Messages
Mentions
Search