SciChart® the market leader in Fast WPF Charts, WPF 3D Charts, and now iOS Charting & Android Chart Components

Welcome to the SciChart Community Forums!

Please use the forums below to ask questions about SciChart. Take a moment to read our Question asking guidelines on how to ask a good question and our support policy

We also have a tag=SciChart on Stackoverflow.com where you can earn rep for your questions!

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

Hello!

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

Thanks!
-Andrew

  • 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

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
Showing 3 results
Your Answer

Please first to submit.