I want to know how to add LabelDefinitions within this SeriesProvider.
<
telerik:RadCartesianChart.SeriesProvider
>
<
telerik:ChartSeriesProvider
Source
=
"{Binding PolygonFuncTable, Mode=OneWay}"
>
<
telerik:ChartSeriesProvider.SeriesDescriptors
>
<!-- Polygon -->
<
telerik:ScatterSeriesDescriptor
ItemsSourcePath
=
"ColorPoints"
XValuePath
=
"X"
YValuePath
=
"Y"
>
<
telerik:ScatterSeriesDescriptor.Style
>
<
Style
TargetType
=
"telerik:ScatterLineSeries"
>
<
Setter
Property
=
"RenderOptions"
Value
=
"{StaticResource renderOptions}"
/>
<
Setter
Property
=
"StrokeThickness"
Value
=
"2"
/>
<
Setter
Property
=
"Stroke"
Value
=
"Black"
/>
<
Setter
Property
=
"ShowLabels"
Value
=
"False"
/>
<
Style.Triggers
>
<
DataTrigger
Binding
=
"{Binding ElementName=chkShowLabel, Path=IsChecked}"
Value
=
"True"
>
<
Setter
Property
=
"ShowLabels"
Value
=
"True"
/>
</
DataTrigger
>
</
Style.Triggers
>
</
Style
>
</
telerik:ScatterSeriesDescriptor.Style
>
</
telerik:ScatterSeriesDescriptor
>
</
telerik:ChartSeriesProvider.SeriesDescriptors
>
</
telerik:ChartSeriesProvider
>
</
telerik:RadCartesianChart.SeriesProvider
>