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

Welcome to the SciChart Community Forums!

Please use the forums below to ask questions about SciChart. Take a moment to read our Question asking guidelines on how to ask a good question and our support policy

We also have a tag=SciChart on Stackoverflow.com where you can earn rep for your questions!

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.