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 Stackoverflow.com where you can earn rep for your questions!

Please note: SciChart team will only answer questions from customers with active support subscriptions. Expired support questions will be ignored. If your support status shows incorrectly, contact us and we will be glad to help.

0
0

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}}" />
</sciChart:HorizontalLineAnnotation>

  • You must to post comments
0
0

Hi there,

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

Regards,
Yuriy

  • You must to post comments
Showing 1 result
Your Answer

Please first to submit.