Pre loader

TextAnnotations font style

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

Hello,
Is there a way to change the font style in TextAnnotations to italics? I would like the user to be able to change the text style using a context menu. I can easily override the FontWeight, FontSize, and FontFamily properties, but there is no FontStyle in the documentation.

Regards,
Kamil

Version
3.4.652
  • You must to post comments
Best Answer
0
0

At the moment, FontStyle is not a property on TextAnnotation. We will add a task to add this but it will not be soon as we are currently feature locked while working on the next major version.

However you can work around this by using a CustomAnnotation instead which allows you to set any svgString. If you want to make that string dynamic, set the getSvgString function instead.

Regards
David

  • You must to post comments
Showing 1 result
Your Answer

Please first to submit.