I followed the instructions in another forum post for changing the colors of my pie chart and that worked fine, but the legend colors continued to show the original theme colours.
My chart.
Nothing fancy, but the legend doesn't color correctly. I saw another post that mentionned the data series naming & legend items naming have been decoupled in the latest release - so I am assuming that also the colors were seperated as well, but I can't figure out how to change them.
Greg
My XAML inside the grid resources (I only set the first two colors).
<SolidColorBrush x:Key="RadialItemStroke" Color="#FF000000"/> |
<telerikStyling:StylesPalette x:Key="{telerikStyling:ThemeResourceKey |
ThemeType={x:Type telerikStyling:Office_BlackTheme}, |
ElementType={x:Type telerikStyling:ChartArea}, |
ResourceId={x:Static telerikStyling:ResourceHelper.ResourceKeyRadialStyle}}"> |
<Style TargetType="{x:Type Shape}"> |
<Setter Property="Stroke" Value="{StaticResource RadialItemStroke}" /> |
<Setter Property="StrokeThickness" Value="2" /> |
<Setter Property="Fill" Value="{StaticResource WidgetLightGreen}" /> |
</Style> |
<Style TargetType="{x:Type Shape}"> |
<Setter Property="Stroke" Value="{StaticResource RadialItemStroke}" /> |
<Setter Property="StrokeThickness" Value="2" /> |
<Setter Property="Fill" Value="{StaticResource WidgetOrange}" /> |
</Style> |
</telerikStyling:StylesPalette> |
My chart.
<telerik:RadChart x:Name="ProgressChart" |
Margin="4,8,4,4" |
VerticalAlignment="Stretch" |
HorizontalAlignment="Stretch"> |
<telerik:RadChart.Background> |
<SolidColorBrush Color="Transparent"/> |
</telerik:RadChart.Background> |
</telerik:RadChart> |
Nothing fancy, but the legend doesn't color correctly. I saw another post that mentionned the data series naming & legend items naming have been decoupled in the latest release - so I am assuming that also the colors were seperated as well, but I can't figure out how to change them.
Greg