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!

2
0

Hi

I am trying to allow my user to hide/show annotations by binding the visibility property, but I can’t seem to get it to work. Actually when I manually set visibility to Hidden it’s still there. Is that just not implemented?

Lisbeth

  • You must to post comments
1
0

Hi there,

You need to call IAnnotation.Hide() to make it disappear and IAnnotation.Show() to display it again. Thanks for your enquiry, we’ll look how to improve usability of this.

Hope this helps!

Best regards,
Yuriy

  • Ian Carson
    There is now also an "IsHidden" property which can be set in XAML and bound to your viewmodelregards Ian
  • David Adams
    Why was IsHidden chosen instead of IsVisible? Just curious.
    • Guest
    • 4 years ago
    Hi David, the reason is that WPF already provides the IsVisible property on Control (but Silverlight doesn't), so we chose different name to avoid confusion. Another reason is that annotations are WPF elements and Visibility is reserved for internal usage (to quickly virtualize the annotations as they go off-screen), so we introduced a new property which allows binding and changes visibility of an annotation.
  • You must to post comments
Showing 1 result
Your Answer

Please first to submit.