Pre loader

how to scroll programmatically over a real time 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 real-time chart that already drawn.
Is there a method that scrolls programmatically ?
If there is no such method, how i can do this ?

Version
3.0.0.4253
  • You must to post comments
0
0

Hi Abolfazl Ghanbari,

By default our modifiers use API provided by axis to scroll chart:

  • if you want to scroll by some amount of pixels you can use scroll():

    xAxis.scroll(10, ClipMode.None);

  • or you can operate with VisibleRange directly if you want to show some specific range of points:

    xAxis.setVisibleRange(newRange);
    
    // or if you want to animate change
    xAxis.animateVisibleRangeTo(newRange, 100);
    

We use second approach in our realtime examples.

Hope this will help you!

Best regards,
Yura

  • 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