Pre loader

Annotations not showing up

Welcome to the SciChart Forums!

  • Please read our Question Asking Guidelines for how to format a good question
  • Some reputation is required to post answers. Get up-voted to avoid the spam filter!
  • We welcome community answers and upvotes. Every Q&A improves SciChart for everyone

WPF Forums | JavaScript Forums | Android Forums | iOS Forums

1
0

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>
  • You must to post comments
0
0

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

  • You must to post comments
0
0

Hi Manish,

By far the most common two reasons why Annotations do not appear when drawing are:

  1. Your Annotations have X,Y coordinates that are outside of the viewport (outside of the current VisibleRange of axis)
  2. 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

  • You must to post comments
Showing 2 results
Your Answer

Please first to submit.

Try SciChart Today

Start a trial and discover why we are the choice
of demanding developers worldwide

Start TrialCase Studies