Pre loader

Add AnnotationLabel on LineAnnotation or LineArrowAnnotation



Basically, I want to draw line annotation and add over them the difference in percent between two Y points related to the axis. I tried this code:

    <s:LineArrowAnnotation Stroke="#555" StrokeThickness="2" X1="1.2" X2="2.5" XAxisId="XAxis1" Y1="3.8" Y2="6">
    <s:AnnotationLabel LabelPlacement="Top" LabelStyle="{StaticResource sideLabel}" Text="centered" />

As you did in some of your examples but doesn’t seems to work with LineArrowAnnotation.

Please help me.


  • You must to post comments
Best Answer

Hi Matthieu,

What you are looking for is Composite Annotations – which unfortunately we do not support in v3 of SciChart, but we do plan to support in the next major version.

Here are some posts where people have requested the same, or similar thing:

The best accepted solution is to have two separate annotations and to bind (or otherwise link together) the X1Y1 X2Y2 values.

Best regards,

  • You must to post comments
Showing 1 result
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