Pre loader

Horizontal annotation labels in different color

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

0
0

my Horizontal Annotation is having stroke property to white and thats why my lables are also in white color i want them to set in black but not able to get any property for the same ,, screen shot is attached for the same
kindly help me

Images
  • You must to post comments
0
0

Hi Swati,

It is default behavior, to override, please, try to add default style for AnnotationLabel and reset Background property here (it is bound to Stroke property). Also, you can consider adding labels into annotation using AnnotationLabels collection(in code), in such a way(in Xaml):

                <s:VerticalLineAnnotation Stroke="White" ...>
                    <s:AnnotationLabel Background="Black" .../>
                </s:VerticalLineAnnotation>

Hope this helps!

Best regards,
Yuriy

  • You must to post comments
Showing 1 result
Your Answer

Please first to submit.

Try SciChart Today

Start a trial and discover why we are the choice
of demanding developers worldwide

Start TrialCase Studies