RadControls
2009 Q3
|
|
.NET version
3.5
|
|
Visual Studio 2008 |
|
programming language
C#
|
|
browser support |
all browsers supported by RadControls
|
PROJECT DESCRIPTION
Occasionally, you might find yourself in need of customizing chart colors, without having time to develop an entirely new theme. In such case you may specify Style Palettes globally, if you use a shared ResourceDictionary, or locally at the UserControl Resources level.
Here is a sample how to do it for bar and line series. This approach works even for grouped charts, where the grouping is defined from XAML instead of code-behind.
You may specify up to 10 colors for each palette.