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
- James Lanng asked 5 years ago
- last edited 5 years ago
- You must login to post comments
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.
- Oleksandr Shvets answered 5 years ago
- You must login to post comments
Please login first to submit.