SciChart® the market leader in Fast WPF Charts, WPF 3D Charts, iOS Chart, Android Chart and JavaScript Chart Components
I just found that if you have two y-axis on your graph, you need to define the YAxisId for your CustomAnnotation. Otherwise, it would look like the Y1 property does not work.
Posting here in case someone else run into the same problem I had.
<SciChart:CustomAnnotation
AnnotationCanvas="BelowChart"
CoordinateMode="Relative"
Opacity="0.50"
HorizontalAnchorPoint="Right"
VerticalAnchorPoint="Bottom"
X1="0.99"
Y1="0.99"
YAxisId="GroupAAxisY">
Hi there,
yes, this is correct, and thanks for sharing. If you have non-default XAxisID and YAxisId then you will need to specify the XAxisId and YAxisId in Annotations, RenderableSeries and certain Modifiers.
Glad you got it working!
Best regards,
Andrew
Please login first to submit.