This documentation is archived and is not being maintained.

ChartColorPalette Enumeration

Specifies a palette when setting a Palette property.

Namespace:  System.Web.UI.DataVisualization.Charting
Assembly:  System.Web.DataVisualization (in System.Web.DataVisualization.dll)

public enum class ChartColorPalette

Member nameDescription
NoneNo palette is used.
BrightPalette utilizes bright colors.
GrayscalePalette utilizes grayscale colors, that is, shades of black and white.
ExcelPalette utilizes Excel-style colors.
LightPalette utilizes light colors.
PastelPalette utilizes pastel colors.
EarthTonesPalette utilizes earth tone colors such as green and brown.
SemiTransparentPalette utilizes semi-transparent colors.
BerryPalette utilizes blues and purples.
ChocolatePalette utilizes shades of brown.
FirePalette utilizes red, orange and yellow colors.
SeaGreenPalette utilizes colors that range from green to blue.
BrightPastelPalette utilizes bright pastel colors.

The ChartColorPalette enumeration represents the palettes to be used for the root Chart object and any Series objects.

If no colors are assigned to data points and their associated series, the default colors will be assigned to the data. For example:

.NET Framework

Supported in: 4

Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

The .NET Framework does not support all versions of every platform. For a list of the supported versions, see .NET Framework System Requirements.