I’m trying to create a few ChartSurface’s which show same elements but with different visible ranges.
If i share DataSeries by binding to SeriesSource this works. But if i try to binding Annotations to a few ChartSurface’s i see annotations only on last chart. If i manually create copy of annotations that everything works but takes a long time.
Is there any way to binding Annotations to a few Charts?
- l1pton17 asked 10 years ago
- You must login to post comments
Hi there,
There is no way to share annotations between different chart surfaces, because they are UIElements. This is a WPF limitation, not SciChart limitation – a UIElement can only have one parent.
What I would suggest you do is follow the guidance in our documementation for using Annotations in MVVM:
Then, you can have one set of ViewModels and duplicate the annotations on charts.
Best regards,
Andrew
- Andrew Burnett-Thompson answered 10 years ago
- last edited 6 years ago
- You must login to post comments
Please login first to submit.