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">
- Kwokon Ng asked 9 years ago
- You must login to post comments
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
- Andrei Barsa answered 9 years ago
- You must login to post comments
Please login first to submit.