SciChart® the market leader in Fast WPF Charts, WPF 3D Charts, and iOS Chart & 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 see I can’t choose version 5 from the drop down, is this version not released yet? Because I got an email saying otherwise months ago, please correct me if I shouldn’t use this version.

That been said, I downloaded version 5 from git and compiled it.
if I try to use something like this:

<s:HorizontalLineAnnotationForMvvm IsEditable="False" ShowLabel="False" Stroke="Green" StrokeThickness="2.0" Y1="2.0" IsHidden="False"/>

I get an exception in “LineAnnotationWithLabelsBase” function “MakeVisible” where it seems that “AnnotationLabels” is null and there is no check. I tried to fix the error and it kinda worked, but in doing so “IsHidden” just doesn’t work anymore, I even compared the code with the older version (4.2) and there is no difference in handling the visibility.
Find attached the code that shows the problem.

What is happening?

Thank you

  • You must to post comments

Hi Alessio

HorizontalLineAnnotationForMvvm is a class used internally by SciChart when you use the AnnotationsBinding Markup Extension to bind to a collection of Annotation ViewModels.

Your code should not use this class.

Please can you use HorizontalLineAnnotation instead, or, AnnotationsBinding as described in this article.

Let me know if that helps!

  • You must to post comments

It Worked, thanks!

  • You must to post comments
Showing 2 results
Your Answer

Please first to submit.