I am using the following AnnotationsProvider to generate annotations using data bindings:
<code>
<telerik:RadCartesianChart.AnnotationsProvider>
<telerik:ChartAnnotationsProvider Source="{Binding LocationHistory}">
<telerik:ChartAnnotationDescriptor>
<telerik:ChartAnnotationDescriptor.Style>
<Style TargetType="telerik:CartesianPlotBandAnnotation">
<Setter Property="Axis" Value="{Binding HorizontalAxis, RelativeSource={RelativeSource AncestorType=telerik:RadCartesianChart}}" />
<Setter Property="From" Value="{Binding Item2}" />
<Setter Property="To" Value="{Binding Item3}" />
<Setter Property="Fill" Value="{Binding Item1, Converter={StaticResource LocationToBrushConverter}}" />
</Style>
</telerik:ChartAnnotationDescriptor.Style>
</telerik:ChartAnnotationDescriptor>
</telerik:ChartAnnotationsProvider>
</telerik:RadCartesianChart.AnnotationsProvider>
</code>
I have a bunch of LineSeries elements as well inside the RadCartesianChart element which is the parent of this AnnotationsProvider.
I am trying to get these annotations to render below all the LineSeries elements. But I am unable to set the ZIndex propery through ChartAnnotationDescriptor.Style. Could you please let me know if there is a workaround for this issue?