Introduction
This series of articles will give an overview of the Palette colorization mechanism of RadChartView.
Telerik UI for WPF is a
professional grade UI library with 160+ components for building modern and feature-rich applications. To try it out sign up for a free 30-day trial.
New to Telerik UI for WPF?
Overview
The palette is a set of predefined Fills and Strokes which can be used to set the coloring of a chart much easier then setting explicitly the colors for each bar or slice. RadChartView brings you the options to define your own palettes and to use the ones we have prepared for you as well. Example 1 shows how the "Warm" palette can be used for a simple PieChart:
Example 1: RadPieChart with Warm Pallete
<telerik:RadPieChart Palette="Warm">
<telerik:PieSeries>
<telerik:PieSeries.DataPoints/>
<telerik:PieDataPoint Value="9" />
<telerik:PieDataPoint Value="3" />
<telerik:PieDataPoint Value="3" />
</telerik:PieSeries.DataPoints>
</telerik:PieSeries>
</telerik:RadPieChart>
Figure 1: Result from Example 1
Built In Palettes
Here are all of the predefined chart palettes:
Name | Pallete |
---|---|
Arctic | |
Autumn | |
Cold | |
Flower | |
Forest | |
Grayscale | |
Ground | |
Lilac | |
Natural | |
Pastel | |
Rainbow | |
Spring | |
Summer | |
Warm | |
Windows8 | |
Office2013 | |
VisualStudio2013 | |
Green | |
Office2016 | |
Material | |
Fluent | |
Crystal | |
VisualStudio2019 | |
Office2019 | |
Windows11 |