Pre loader

Share annotations between a few ChartSurface's

Welcome to the SciChart Forums!

  • Please read our Question Asking Guidelines for how to format a good question
  • Some reputation is required to post answers. Get up-voted to avoid the spam filter!
  • We welcome community answers and upvotes. Every Q&A improves SciChart for everyone

WPF Forums | JavaScript Forums | Android Forums | iOS Forums

0
0

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?

  • You must to post comments
0
0

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

  • You must to post comments
Showing 1 result
Your Answer

Please first to submit.

Try SciChart Today

Start a trial and discover why we are the choice
of demanding developers worldwide

Start TrialCase Studies