Pre loader

X-Axis Visible Range

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
1

Hello support team,

We have to realize the following request:
– Yt chart with DateTime as X-axis and double values on the Y-axis
– The chart should display a user-defined area on startup (e.g. 20 sec) After the chart has run for 20 seconds ( i.e. 20 seconds), the animated scrolling should start. By default, the chart behaves as follows: The X-axis area fills up to 20 seconds and then starts scrolling. We want the chart to display 20 seconds on the X-axis at the start and fill up.

I am aware that I can implement this behavior myself. However, the question arises whether I can realize this directly with a basic functionality.

Thank you!

Version
5
  • You must to post comments
0
0

That sounds very good!
But how can I access the method AnimateVisibleRangeTo() from the ViewModel NumericAxisViewModel?
Thank you!

  • You must to post comments
0
0

Yes, in fact we have a demo of how to achieve this (or very similar behaviour) here:

How to Create a Scrolling Strip Chart in SciChart?

enter image description here

Updated source-code for SciChart v5 can be found here:

https://github.com/ABTSoftware/SciChart.WPF.Examples/tree/master/v5.x/Sandbox/UsefulExamples/Examples/StripChart

Build instructions for the Useful Examples sandbox found here:

https://github.com/ABTSoftware/SciChart.WPF.Examples/tree/master/v5.x/Sandbox/UsefulExamples

Best regards,
Andrew

  • You must to post comments
Showing 2 results
Your Answer

Please first to submit.