SciChart® the market leader in Fast WPF Charts, WPF 3D Charts, and iOS Chart & Android Chart Components
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?
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.
Please login first to submit.