I have problems with RadPieChart. Always the radPieChart shows all series in the same color (Blue) and doesn’t apply the DefaultPalette. The xaml code is the following:
<telerik:RadPieChart x:Name="chartTipoGasto" Palette="{Binding DefaultPalette}" Grid.Row="3">
<telerik:PieSeries ItemsSource="{Binding}" RadiusFactor="0.9">
<telerik:PieSeries.ValueBinding>
<telerik:PropertyNameDataPointBinding PropertyName="Importe"></telerik:PropertyNameDataPointBinding>
</telerik:PieSeries.ValueBinding>
<telerik:PieSeries.LabelDefinitions>
<telerik:ChartSeriesLabelDefinition Margin="-7">
<telerik:ChartSeriesLabelDefinition.Binding>
<telerik:PropertyNameDataPointBinding PropertyName="Concepto"></telerik:PropertyNameDataPointBinding>
</telerik:ChartSeriesLabelDefinition.Binding>
</telerik:ChartSeriesLabelDefinition>
</telerik:PieSeries.LabelDefinitions>
</telerik:PieSeries>
</telerik:RadPieChart>
I don’t know why all series is displayed in blue and not in diferents colors like its show in demo projects that I download from Telerik website.
Thanks in advance!
Is there actually something you’re binding to with the Palette=”{Binding DefaultPalette}” you have declared?
You can apply your own Palette like this (You change the Gradients to Solid brushes or I think even Images if you wanted) and add as many as you want.