SciChart® the market leader in Fast WPF Charts, WPF 3D Charts, and iOS Chart & Android Chart Components

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.