Hi! So I’ve got a quick question hopefully. I’m looking at the Bind Multiple Charts example that you provide and I’m wondering that if a dataset can be modified once its added to the observable collection. And if possible, how would it be done in the context of that example? Would the surface need to be updated?
- rcannon asked 10 years ago
- You must login to post comments
Hi,
Surely, you can update DataSeries using the Append/Insert/Update/Remove methods(refer to the documentation). Take a look at any of the realtime examples, they are implemented using such an approach.
In case when you want to add new renderable series, it’s better to use SeriesSource approach. It is demonstrated in our StockCharts examples. Don’t be afraid of amount of code, the key point is the CreateRealTimeTickingStockChartViewModel.SeriesViewModels property which is bound to the SciChartSurface.SeriesSource property and allows you to add new series in real-time. Take a look at the constructor of CreateRealTimeTickingStockChartViewModel to see how it is filled.
Please, feel free to ask if you need more assistance with this.
Best regards,
Yuriy
- Yuriy Zadereckiy answered 10 years ago
- You must login to post comments
Please login first to submit.