SciChart® the market leader in Fast WPF Charts, WPF 3D Charts, and now iOS Charting & Android Chart Components
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?
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.
Let me know if that helps!
Please login first to submit.