Jump to content
Software FX Community

data editor display default


jenroypa
 Share

Recommended Posts

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)?

Link to comment
Share on other sites

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

Link to comment
Share on other sites

  • 2 weeks later...

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.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

 Share

×
×
  • Create New...