Pre loader

Add an axis marker on top of a VerticalLineAnnotation

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

0
0

Hi,

I am using in my chart a VerticalSliceModifer with a VerticalLineAnnotation.
It works as expected, but I would like to modify the aspect of my VerticalLineAnnotation by adding a marker on the axis on top of the line, exactly as in the attached picture (not a scichart).
Is there a way to do that ?

Best regards,
Jean-Charles Durand

Version
6.2.1.13304
Images
  • You must to post comments
0
0

Hi Jean-Charles,

Thanks for your inquiry.
There are two options here. You can add an AnnotationLabel to VerticalLineAnnotation and place it on the axis setting LabelPlacement property to “Axis”. Then change its template to make it appear pointed. Please take a look at the documentation regarding VerticalLineAnnotation for more info:
https://www.scichart.com/documentation/win/current/webframe.html#The%20VerticalLineAnnotation%20Type.html

Alternatively, you can have an AxisMarkerAnnotation on the axis and bind its X1 property to that on the VerticalLineAnnotation. To make the AxisMarkeAnnotation pointed, set its LabelTemplate to an empty template. Here is a corresponding documentation:
https://www.scichart.com/documentation/win/current/webframe.html#The%20AxisMarkerAnnotation%20Type.html

Please let me know if this helps.
With best regards,
Oleksandr

  • 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