I have a project working but i cannot get annotations to work on it..
I read in the example this is available in premium edition of scichart, however i do not find info on this in the pricing.
Blockquote
<s:SciChartSurface.Annotations>
<s:TextAnnotation FontSize="12" Text="Draw Lines with" X1="100" XAxisId="XAxis1" Y1="6.3"/>
<s:TextAnnotation FontSize="24" Text="Annotations are Easy!" X1="10" XAxisId="XAxis1" Y1="9.7"/>
</s:SciChartSurface.Annotations>
- manish Bhardwaj asked 10 years ago
- You must login to post comments
Hi Manish,
By far the most common two reasons why Annotations do not appear when drawing are:
- Your Annotations have X,Y coordinates that are outside of the viewport (outside of the current VisibleRange of axis)
- Or, your annotations have XAxisId and YAxisIds that differ from the Axis Ids on the chart.
Please double-check all your XAxis and YAxis Ids and the ids you assign to the annotations. It must be stressed, for single YAxis and XAxis scenarios there is no need to set an ID as a default axis id is applied.
Best regards,
Andrew
- Andrew Burnett-Thompson answered 10 years ago
- You must login to post comments
Andrew,
I only had one X and Y Axis however i had specified a name to them because the example showed it that way,
The names were right, once i removed the Xaxis ID specifier it worked!
Thanks
- manish Bhardwaj answered 10 years ago
- You must login to post comments
Please login first to submit.