Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
ChartColorPalette Enumeration
Collapse the table of content
Expand the table of content

ChartColorPalette Enumeration

.NET Framework 4.6 and 4.5

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
Show:
© 2015 Microsoft