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



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?


  • You must to post comments

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,

  • Ian Carson
    There is now also an "IsHidden" property which can be set in XAML and bound to your viewmodel regards Ian
  • David Adams
    Why was IsHidden chosen instead of IsVisible? Just curious.
    • Guest
    • 8 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.