Hates_ Posted August 18, 2007 Report Share Posted August 18, 2007 If I am loading in 100 points with the values 1 to 100 and limit the user's view of the data with chart1.AxisX.SetScrollView(1, 50), as the data goes all the way up to 100 on the last point the YAxis still shows 1 - 100 rather then 1-50 in relation to the current set of displayed data. What I would like to do is have the YAxis scale to be well matched to the currently shown data. So while showing points 1 - 50 is have the YAxis only display 1-50, then if I progress onto points 2-51 have the YAxis recalculate to display 2-51 etc etc. Any help would be greatly appreciated. Quote Link to comment Share on other sites More sharing options...
Frank Posted August 19, 2007 Report Share Posted August 19, 2007 The Y-Axis Min and Max are updated with the whole dataset not with the current scroll view. If you want to do this you will have to implement it in your code. You can capture the UserScroll event and calculate and set the Min and Max using only the points within the current view. Quote Link to comment Share on other sites More sharing options...
Hates_ Posted August 19, 2007 Author Report Share Posted August 19, 2007 No problem. Thanks for the help Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.