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 ?
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!
Please login first to submit.