Pre loader

How to hide a HorizontalLineAnnotation

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

Dear all,

I have a set of HorizontalLineAnnotation in my chart and I need to be able to hide them based on a Boolean property which is bind to through MVVM.

I first try to set the visible property to hidden or collapse, but the HorizontalLineAnnotation is still visible.

Any way to hide the annotation ?

regards

Version
4
  • You must to post comments
0
0

Hi there,

Please try IsHidden property, by setting it to false

  • You must to post comments
0
0

Hi there,

As Nazariy mentioned above, you should use the IsHidden property for this purpose. The Visibility property is reserved for internal usage (for performance reasons), as this is explained in the documentation.

Hope this helps!

  • sc sc
    tnanks
  • You must to post comments
Showing 2 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