Pre loader

How to hide CompositeAnnotation?

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 created CompositeAnnotation consisting of several elements (VerticalLineAnnotation).
I set visibility CompositeAnnotation to hidden but does not work.

How can I do it?

Version
4.0.7.8594
  • You must to post comments
0
0

I found myself solution. I use binding in code behind:

Binding binding = new Binding("IsHidden");
binding.Source = harmonicAnnotation;
annotation.SetBinding(VerticalLineAnnotation.IsHiddenProperty, binding);

  • You must to post comments
0
0

My case is a bit more complicated.

I’m working on the harmonic annotation. I created custom class base on CompositeAnnotation and I create dynamically vertical line annotations. I would like to show/hide my annotation.

Harmonic Annotation

I created sample project:
https://db.tt/XLanfanB

  • You must to post comments
0
0

Hello!

Annotation Visibility is a frequently asked question. Please see here for more info

Thanks!
-Andrew

  • You must to post comments
Showing 3 results
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