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


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

  • You must to post comments

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" .../>

Hope this helps!

Best regards,

  • You must to post comments
Showing 1 result
Your Answer

Please first to submit.