Hello all,
I tried setting default properties for the charts on my site as a static resource in the App.xaml file of my project but the colors didn't seem to take. I'm trying to avoid having to cut and paste the code below under every radChart I use. Is there a better way to do this?
I tried setting default properties for the charts on my site as a static resource in the App.xaml file of my project but the colors didn't seem to take. I'm trying to avoid having to cut and paste the code below under every radChart I use. Is there a better way to do this?
<telerik:RadChart.PaletteBrushes>
<SolidColorBrush Color="{StaticResource Color1}" />
<SolidColorBrush Color="{StaticResource Color2}" />
<SolidColorBrush Color="{StaticResource Color3}" />
<SolidColorBrush Color="{StaticResource Color4}" />
<SolidColorBrush Color="{StaticResource Color5}" />
<SolidColorBrush Color="{StaticResource Color6}" />
<SolidColorBrush Color="{StaticResource Color7}" />
</telerik:RadChart.PaletteBrushes>