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 where you can earn rep for your questions!

Please note: SciChart team will only answer questions from customers with active support subscriptions. Expired support questions will be ignored. If your support status shows incorrectly, contact us and we will be glad to help.


I have both a VerticalLineAnnotation and LineAnnotation. When I drag my VerticalLineAnnotation around, the onAnnotationPositionChanged event is fired. The partial stack trace is attached. Once the Make Visible method is called, it goes through until it affects the LineAnnotation’s visiblity property that it has no direct binding too. If I change the visibility property that the LineAnnotation’s visibility is bound to, then moving the VerticalLineAnnotation changes that new property.

Why is this happening?

  • You must to post comments

Hi Ryan,

Please see this related FAQ:

The AnnotationBase class uses Visibility internally to bring the annotation out of the Visual Tree in a performant manner
(we found that removing/adding an annotation to a canvas was an expensive operation, so far quicker to hide it
using Visibility.Collapsed when the Annotation was outside of the viewport, for instance),
allowing us to achieve fast virtualisation of annotations.

So, we realise its counter intuitive but there was a good reason to making the API this way.
To allow you to data bind to annotation visibility, we added the Annotation.IsHidden property

Best regards,

  • You must to post comments
Showing 1 result
Your Answer

Please first to submit.