I’m using the CategoryDateTimeAxis as a xaxis of one chart.
The picture below is my question, can you give some suggestions?
Thanks
- Shawn Li asked 8 years ago
- You must login to post comments
Hi there,
Yes, you can do this. What you’ll need to do is:
- Subscribe to XAxis.VisibleRangeChanged, or, in MVVM listen to changes of the bound XAxis.VisibleRange property
- When the XAxis.VisibleRange.Min == 0 then you are basically at the left edge. Now you need to asynchronously load your data
- 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
- Andrew Burnett-Thompson answered 8 years ago
-
Thank you so much:) I tried as you said, now I can dynamically load my data to the chart.
-
Superb! I love it when a plan comes together
- You must login to post comments
Please login first to submit.