Jump to content
Software FX Community

RealTime chart and scrolling


Recommended Posts

I have a chart set up a real time buffer and a RealTime.Mode of Scroll, and AutoScroll = true. I have the buffer size set to 1800, to hold two hours of data points updated every 4 seconds. Given the size of chart and the PixelsPerUnit scaling, the chart shows a window of 10 to 30 minutes, and the rest of the time period is visible by scrolling the x-axis scroll bar.  That all works great.

New values are appended to the right side of the x-axis, and the x-axis scroll bar snaps to the right end each time a new data point is appended.  Most of the time that's also great, but the user scrolls to the left to examine the older data, the scroll bar won't stay there - in this case it snaps back to the right end every 4 seconds, and the user can't see what they were looking for.

Is there any way to control the scrolling behavior? I tried adjusting the AxisX.ScrollPosition when appending new data points, but the resolution of that property doesn't appear to be nearly fine enough to effectively 'freeze' the scroll position (or I'm not calling correctly...)



Link to comment
Share on other sites

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.

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.

  • Create New...