Hi! I'm trying to improve the design of CartesianGridLineAnnotation label (add background border, for example). I've written that code:
<telerik:CartesianGridLineAnnotation Axis="{Binding ElementName=horizontalAxis}" Value="2.8" Stroke="Blue" Label="123" StrokeThickness="1">
<telerik:CartesianGridLineAnnotation.LabelDefinition>
<telerik:ChartAnnotationLabelDefinition>
<telerik:ChartAnnotationLabelDefinition.Template>
<DataTemplate>
<TextBlock Text="{Binding}" />
</DataTemplate>
</telerik:ChartAnnotationLabelDefinition.Template>
</telerik:ChartAnnotationLabelDefinition>
</telerik:CartesianGridLineAnnotation.LabelDefinition>
</telerik:CartesianGridLineAnnotation>
It seems like Text="{Binding}" doesn't works, because chart doesn't display any text. But it will display it if i replace {Binding} with some value. I've checked the binding state, by the way. It' works fine (attached picture).
I managed to play this problem on your example: https://github.com/telerik/xaml-sdk/tree/master/ChartView/SL/AnnotationsAdding. Version: 2016.2.613.1050.