This question is locked. New answers and comments are not allowed.
Hi Telerik,
we are using a RadPolarChart with RadarLineSeries.
The chart palette like this:
The chart is implemented this way:
The color of the first series is resolved from the palette and right. However, the second series is displaying in the same colour, not in the second color, defined in the chart palette.
We can give more information if you need.
Regards,
Florian
we are using a RadPolarChart with RadarLineSeries.
The chart palette like this:
<telerik:ChartPalette x:Key="chartPalette"> <telerik:ChartPalette.FillEntries> <telerik:PaletteEntryCollection> <SolidColorBrush Color="#FFEFA500"></SolidColorBrush> <SolidColorBrush Color="#FF5D2985"></SolidColorBrush> </telerik:PaletteEntryCollection> </telerik:ChartPalette.FillEntries> <telerik:ChartPalette.StrokeEntries> <telerik:PaletteEntryCollection> <SolidColorBrush Color="DarkGray"></SolidColorBrush> <SolidColorBrush Color="DarkGray"></SolidColorBrush> </telerik:PaletteEntryCollection> </telerik:ChartPalette.StrokeEntries> </telerik:ChartPalette>The chart is implemented this way:
<telerik:RadPolarChart x:Name="chart" Grid.Row="1" Grid.Column="0" Visibility="{Binding ChartId,Converter={StaticResource PolarAssessmentChartGuidToVisivilityConverter}}" IsHitTestVisible="False" PaletteName="DefaultLightSelected" Palette="{StaticResource chartPalette}" Width="800"> <telerik:RadPolarChart.Grid> <telerik:PolarChartGrid GridLineVisibility="Both"> <telerik:PolarChartGrid.PolarLineStyle> <Style TargetType="Line"> <Setter Property="StrokeThickness" Value="3"/> <Setter Property="Stroke" Value="{StaticResource AppBarItemPointerOverBackgroundThemeBrush}"/> </Style> </telerik:PolarChartGrid.PolarLineStyle> </telerik:PolarChartGrid> </telerik:RadPolarChart.Grid> <telerik:RadPolarChart.PolarAxis> <telerik:PolarAxis MajorStep="10" Maximum="100" Foreground="Transparent"/> </telerik:RadPolarChart.PolarAxis> <telerik:RadPolarChart.RadialAxis> <telerik:CategoricalRadialAxis> <telerik:CategoricalRadialAxis.LineStyle> <Style TargetType="Ellipse"> <Setter Property="StrokeDashArray" Value="4, 2"/> <Setter Property="Stroke" Value="{StaticResource AppBarItemPointerOverBackgroundThemeBrush}"/> </Style> </telerik:CategoricalRadialAxis.LineStyle> </telerik:CategoricalRadialAxis> </telerik:RadPolarChart.RadialAxis> <telerik:RadPolarChart.Series> <telerik:RadarLineSeries x:Name="RadarLineSeries1" ItemsSource="{Binding ChartInfos,Converter={StaticResource ListToFirstItemConverter}, ConverterParameter='ChartObjects'}" LegendTitle="1" > <telerik:RadarLineSeries.ValueBinding> <telerik:PropertyNameDataPointBinding PropertyName="Wert"/> </telerik:RadarLineSeries.ValueBinding> <telerik:RadarLineSeries.CategoryBinding> <telerik:PropertyNameDataPointBinding PropertyName="ChartTitle"/> </telerik:RadarLineSeries.CategoryBinding> </telerik:RadarLineSeries> <telerik:RadarLineSeries x:Name="RadarLineSeries2" ItemsSource="{Binding ChartInfos,Converter={StaticResource ListToSecondItemConverter}, ConverterParameter='ChartObjects'}" LegendTitle="2"> <telerik:RadarLineSeries.ValueBinding> <telerik:PropertyNameDataPointBinding PropertyName="Wert"/> </telerik:RadarLineSeries.ValueBinding> <telerik:RadarLineSeries.CategoryBinding> <telerik:PropertyNameDataPointBinding PropertyName="ChartTitle"/> </telerik:RadarLineSeries.CategoryBinding> </telerik:RadarLineSeries> </telerik:RadPolarChart.Series> </telerik:RadPolarChart>The color of the first series is resolved from the palette and right. However, the second series is displaying in the same colour, not in the second color, defined in the chart palette.
We can give more information if you need.
Regards,
Florian