I'm trying to specify the color for a set LineSeries (the number of which is dynamic) all to the same color. However, the Stroke Style Setter isn't having any effect. Taking the "Dynamic Number of Series" example from your documentation here:
http://www.telerik.com/help/wpf/radchartview-features-chartseriesprovider.html
and simply adding the Stroke color to the existing style:
does not affect the color of the line on the chart. Adjustments to the StrokeThickness do affect the Chart, and if I change the Stroke on the LineSeries after-the-fact in code-behind it takes effect, but how can I change it for all the dynamic series generated by a SeriesProvider?
Thanks,
Louis
http://www.telerik.com/help/wpf/radchartview-features-chartseriesprovider.html
and simply adding the Stroke color to the existing style:
<telerik:CategoricalSeriesDescriptor ItemsSourcePath="SalesData" ValuePath="Sales" CategoryPath="MonthName" CollectionIndex="2"> <telerik:CategoricalSeriesDescriptor.Style> <Style TargetType="telerik:LineSeries"> <Setter Property="StrokeThickness" Value="2"/> <Setter Property="Stroke" Value="Blue"/> </Style> </telerik:CategoricalSeriesDescriptor.Style> </telerik:CategoricalSeriesDescriptor>
does not affect the color of the line on the chart. Adjustments to the StrokeThickness do affect the Chart, and if I change the Stroke on the LineSeries after-the-fact in code-behind it takes effect, but how can I change it for all the dynamic series generated by a SeriesProvider?
Thanks,
Louis