jenroypa Posted April 8, 2010 Report Share Posted April 8, 2010 I have a large chart with 24 bars. When the data editor is turned on there is too much data to appear on the screen. So a horizontal scrollbar appears. It always defaults to the left most, or initial data on the graph(with scroll bar all the way to left).. Is there anyway to get the data editor and scroll bar to default so that the maximum or last items appear ( ie scroll bar all the way to the right)? Quote Link to comment Share on other sites More sharing options...
RandyJ Posted April 8, 2010 Report Share Posted April 8, 2010 Hi, You need to use the ScrollPosition property. This property allows you to set the first visible cell in the data editor. Example To set the data editor scroll position to 15: [C#] chart1.DataEditorObj.ScrollPosition = 15; Note: Please note that the ScrollPosition and SetScrollView settings of the Axis will override this property (if they have been manually set), as the data editor cells will synchronize with the points shown on the chart. For this reason in such a case the value of the data editor's ScrollPosition will be ignored by Chart FX. Regards, Randy Jimenez Quote Link to comment Share on other sites More sharing options...
jenroypa Posted April 8, 2010 Author Report Share Posted April 8, 2010 thx.. Works great. Quote Link to comment Share on other sites More sharing options...
RandyJ Posted April 21, 2010 Report Share Posted April 21, 2010 I am glad to know the information was useful. Regards, Randy Jimenez 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.