PaletteRepository Class
Represents the repository used to store the palettes that are used to draw the elements of a chart control.
Namespace: DevExpress.XtraCharts
Assembly: DevExpress.XtraCharts.v19.1.dll
Declaration
Related API Members
The following members return PaletteRepository objects:
Library | Related API Members |
---|---|
WinForms Controls | ChartControl.IndicatorsPaletteRepository |
ChartControl.PaletteRepository | |
SnapChart.IndicatorsPaletteRepository | |
SnapChart.PaletteRepository | |
Reporting | XRChart.IndicatorsPaletteRepository |
XRChart.PaletteRepository | |
ASP.NET Web Forms Controls | ChartControlSettings.PaletteRepository |
WebChartControl.IndicatorsPaletteRepository | |
WebChartControl.PaletteRepository |
Remarks
A PaletteRepository class is intended to store different palettes that are used to draw chart elements with different appearance settings (gradient and hatch filling, etc.) defined by the ChartControl.AppearanceName value. The currently used palette is specified via the ChartControl.PaletteName property.
By default, XtraCharts provides a number of palettes represented by the Palettes public fields. Normally, you don’t need to modify them, but if they don’t meet your requirements you can create your own Palette object and add it to the PaletteRepository via the PaletteRepository.RegisterPalette method.