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.5, 4

Windows 8.1, Windows Server 2012 R2, Windows 8, Windows Server 2012, Windows 7, Windows Vista SP2, Windows Server 2008 (Server Core Role not supported), Windows Server 2008 R2 (Server Core Role supported with SP1 or later; Itanium not supported)

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

Was this page helpful?
(1500 characters remaining)
Thank you for your feedback
Show:
© 2014 Microsoft