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

Welcome to the SciChart Community Forums!

Please use the forums below to ask questions about SciChart. Take a moment to read our Question asking guidelines on how to ask a good question and our support policy

We also have a tag=SciChart on where you can earn rep for your questions!


I have an annotation that I want to apply a label with specific formatting but it seems that the axis formatting is being used instead.

<sciChart:HorizontalLineAnnotation x:Name="Total" HorizontalAlignment="Stretch" Stroke="Red" StrokeThickness="3" StrokeDashArray="2,2" Y1="{Binding Total}">
<sciChart:AnnotationLabel LabelPlacement="TopLeft" FontSize="16" Text="{Binding Path=DataContext.Total, StringFormat=This is my formatted total: {0}}" />

  • You must to post comments

Hi there,

Please, try using AnontationLabel.TextFormatting property or LabelTextFormatting property on HorizontalLineAnnotation. Let us know if this helps,


  • You must to post comments
Showing 1 result
Your Answer

Please first to submit.