SciChart® the market leader in Fast WPF Charts, WPF 3D Charts, and now iOS Charting & Android Chart Components

Welcome to the SciChart Community Forums!

Please use the forums below to ask questions about SciChart. Take a moment to read our Question asking guidelines on how to ask a good question and our support policy

We also have a tag=SciChart on Stackoverflow.com where you can earn rep for your questions!

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

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
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
Showing 2 results
Your Answer

Please first to submit.