Pre loader

Infinite Scrolling

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


Hi, guys

My X axis is SCICategoryDateTimeAxis type.

And i have a huge amount of data to display. So i need to display it by scrolling of the chart surface.
So what is the best practice to update data series on the fly and display it at the chart surface?

Best regards,
Sushynski Andrei

  • You must to post comments

Hi, Andrei Sushynski

By default, All types of data series are infinite. Except FIFO. And you can add values as much as you want. Of course you are limited by memory of device.
Only one thing you should solve it’s when add new values.
My suggestion, Try to add new values on changing visible range.

let axis = SCICategoryDateTimeAxis()
axis.registerVisibleRangeChangedCallback { (newRange, oldRange, isAnimated, sender) in
// do something on changing visible range

Depends on how close chart is scrolled to the end try to add new values.

Best Regards, Mykola

  • Andrei Sushynski
    I’m already using VisibleRangeChangedCallback to initiate my methods of data getting. My question is how to update data series while chart surface scrolling without scroll freezing and visible changes of data update? Should i use appendX or updateAt? Should i manually change scroll visible range?
  • Andrei Sushynski
    Is it possible to update visible range of the chart while it’s scrolling?
  • Mykola Hrybeniuk
    Hi, Andrei Firstly, I’ve understood you wrong. I think you can find an answer for the question in our DemoApp in RealtimeTickingStock example. And I think you should use appendX and change visible range, you will find the solution in RealtimeTicikingStock example. Best Regards, Mykola
  • 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