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.
- Ryan Franklin asked 4 years ago
- You must login 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:
https://www.scichart.com/documentation/v5.x/webframe.html#The%20VerticalLineAnnotation%20Type.html
Hope this helps,
With best regards,
Oleksandr
- Oleksandr Shvets answered 4 years ago
- You must login to post comments
Please login first to submit.