ChartPaletteColors is a utility class which provides access to the predefined chart color palettes. These palettes are used to assign unique colors to different chart series. For some chart types, like Pie, different colors are applied on the data point level. GetPaletteColors method takes a ChartColorPalette enumeration as a parameter and returns back an array of Colors. Each palette contains different number of colors but it is a good practice to keep this number around 15.
Syntax
Visual Basic (Declaration) |
|
Public Class ChartPaletteColors |
C# |
|
public class ChartPaletteColors |
Inheritance Hierarchy
System.Object
Dundas.Charting.WebControl.Utilities.ChartPaletteColors
Requirements
Target Platforms: Windows 98, Windows NT 4.0, Windows Millennium Edition, Windows 2000, Windows XP Home Edition, Windows XP Professional, Windows Server 2003 family, Windows Vista, Windows Server 2008 family
See Also