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

Answered
0
0

The Annotation API mentions adding borders and border colors to this annotation; however, I can find them. Do I need to create an annotation type of my own by extending from the TextAnnotationViewModel?

Version
5.2
  • You must to post comments
Best Answer
1
0

Hi Chris

Well strictly speaking these are properties of the View, and not the ViewModel. They can be changed by applying a Style to the TextAnnotation itself.

Perhaps look at how the StyleKey property is used on the ViewModel types, for example here is how to style a series (Annotations are very similar)

Best regards,
Andrew

  • You must to post comments
Showing 1 result
Your Answer

Please first to submit.