Pre loader

Smooth scrolling of a realtime chart

Welcome to the SciChart Forums!

  • Please read our Question Asking Guidelines for how to format a good question
  • Some reputation is required to post answers. Get up-voted to avoid the spam filter!
  • We welcome community answers and upvotes. Every Q&A improves SciChart for everyone

WPF Forums | JavaScript Forums | Android Forums | iOS Forums

0
0

I have a fairly simple multiple series line chart, which shows the history of a couple of variables within the last 5, 15, or 30 minutes.

The x axis is always ranged between Now – X mins and Now + 10 secs (to allow for clock error).

I’d like to have the x axis constantly scrolling, smoothly. I’ve not been able to achieve this using a timer. I’ve tried to use AnimatedVisibleRange, triggered from a 500ms timer, but there’s quite visible jerking.

I should add that the data comes in sporadically, but the chart should still scroll without any new data.

What am I missing? Thanks

Version
5
  • You must to post comments
0
0

Hi James,

Thanks for your inquiry.
You can use FifoCapacity property for the DataSeries. Please take a look at the “Fifo (First-In-First-Out) DataSeries” section of the following documentation:
https://www.scichart.com/documentation/v5.x/webframe.html#Manipulating%20DataSeries%20Data.html

And our “FIFO (Scrolling) Charts” example for more details:
https://www.scichart.com/example/wpf-chart-example-fifo-scrolling-charts/

Please let me know if this helps.

  • You must to post comments
Showing 1 result
Your Answer

Please first to submit.

Try SciChart Today

Start a trial and discover why we are the choice
of demanding developers worldwide

Start TrialCase Studies