Export (0) Print
Expand All
Expand Minimize

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 ChartColorPalette

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