Pre loader

Load history data

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’m using the CategoryDateTimeAxis as a xaxis of one chart.

The picture below is my question, can you give some suggestions?

Thanks

Images
  • You must to post comments
0
0

Hi there,

Yes, you can do this. What you’ll need to do is:

  1. Subscribe to XAxis.VisibleRangeChanged, or, in MVVM listen to changes of the bound XAxis.VisibleRange property
  2. When the XAxis.VisibleRange.Min == 0 then you are basically at the left edge. Now you need to asynchronously load your data
  3. InsertRange the loaded (older) data into a DataSeries

This should work… Would you like to try it and let me know the results?

Best regards,
Andrew

  • Shawn Li
    Thank you so much:) I tried as you said, now I can dynamically load my data to the chart.
  • Franco Maestrelli
    Superb! I love it when a plan comes together
  • 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