Hello,
I am using a ChartSeriesProvider to chart multiple LineSeries. I would like each LineSeries to have the actual points styled instead of just being a plain line.
Styling each LineSeries is a little different since I am using a ChartSeriesProvider.
<telerik:RadCartesianChart
Grid.Row="2"
Background="#FF282828">
<telerik:RadCartesianChart.SeriesProvider>
<telerik:ChartSeriesProvider
Source="{Binding InspectionData}">
<telerik:ChartSeriesProvider.SeriesDescriptors>
<telerik:CategoricalSeriesDescriptor
CategoryPath="InspectionDateTime"
ValuePath="InspectionValue"
ItemsSourcePath="CameraChartData"
CollectionIndex="0">
<telerik:CategoricalSeriesDescriptor.Style>
<Style
TargetType="telerik:LineSeries">
<Setter
Property="StrokeThickness"
Value="2" />
<Setter
Property="Stroke"
Value="DeepSkyBlue" />
</Style>
</telerik:CategoricalSeriesDescriptor.Style>
</telerik:CategoricalSeriesDescriptor>
<telerik:CategoricalSeriesDescriptor
CategoryPath="InspectionDateTime"
ValuePath="InspectionValue"
ItemsSourcePath="CameraChartData"
CollectionIndex="1">
<telerik:CategoricalSeriesDescriptor.Style>
<Style
TargetType="telerik:LineSeries">
<Setter
Property="StrokeThickness"
Value="2" />
<Setter
Property="Stroke"
Value="Yellow" />
</Style>
</telerik:CategoricalSeriesDescriptor.Style>
</telerik:CategoricalSeriesDescriptor>
This documentation says
Currently, changing the point marks appearance could be done only via the provided API. Declarative customizations are not supported.
But, this documentation shows a LineSeries has property "Fill" (need to also set size) which is exactly what I want. TargetPath is different, in this example it's set to "Path" and in my xaml it's "telerik:LineSeries" because it has to be since it's in a CategoricalSeriesDescriptor.
How do I style the points? Is it possible?