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


I would like to add an image or icon to the bottom of the Vertical Line Annotation, where the AnnotationLabel is.

Is there a way to do this using the StyleKey?

I have a lot of Vertical Line Annotations and I am trying to make some of them look different other than just color. I need ways to show different vertical line annotations and this could be one of them.

  • You must to post comments

Hy Ryan,

Thanks for your inquiry.
You can declare AnnotationLabels in XAML inside a Style, then apply the style via a StyleKey to an Annotation. To put an image into an AnnotationLabel, you should provide a custom Template for it holding this image. Please find an example of an AnnotationLabel template in the “Templating the VerticalLineAnnotation
” section of the following documentation:

Hope this helps,

With best regards,

  • You must to post comments
Showing 1 result
Your Answer

Please first to submit.