Skip to main content

DashboardPalette Class

A palette that contains colors used to paint dashboard item elements.

Namespace: DevExpress.DashboardCommon

Assembly: DevExpress.Dashboard.v26.1.Core.dll

Declaration

public class DashboardPalette :
    IEnumerable<Color>,
    IEnumerable,
    IEnumerable<DashboardPaletteItem>

Remarks

DevExpress Dashboard colors dashboard item elements (for instance, Chart series points or Pie segments) using a set of colors from a predefined palettes. The following palettes are available:

DashboardPalette.Default
A default palette used to color dashboard item elements.
DashboardPalette.Bright
A palette with bright color accents. Optimized for users with Deuteranopia and Protanopia.
DashboardPalette.HighContrast
A palette with high visual contrast. Suitable for grayscale rendering, monochrome vision, and users with deuteranopia, protanopia, and tritanopia.
DashboardPalette.WarmGradient
A Yellow-Orange-Brown palette. Optimized for grayscale rendering and users with deuteranopia, protanopia, and tritanopia.
DashboardPalette.Sunset
A palette based on warm sunset tones. Intended for visualizing values between two extremes. Optimized for users with deuteranopia and protanopia.
DashboardPalette.Vibrant
A palette with vivid color contrast. Optimized for users with Deuteranopia and Protanopia.

You can also create a custom color palette for the dashboard. To do this, initialize a new instance of the DashboardPalette class with the colors and then use the resulting object when you handle one of the following events:

Creating a custom DashboardPalette does not modify predefined dashboard palettes. Instead, the CustomPalette event allows you to substitute a palette at the control level. To apply custom colors, assign the custom palette to the e.Palette property in the corresponding CustomPalette event handler.

Inheritance

Object
DashboardPalette
See Also