Pre loader

TextAnnotationViewModel missing parameters

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

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.