Skip to main content
All docs
V21.2

SnapChart.PaletteBaseColorNumber Property

Gets or sets the number of a palette color that should be used as a base color for painting chart series.

Namespace: DevExpress.Snap.Core.API

Assembly: DevExpress.Snap.v21.2.Core.dll

NuGet Package: DevExpress.Snap.Core

Declaration

int PaletteBaseColorNumber { get; set; }

Property Value

Type Description
Int32

An integer value that specifies the number of a palette base color.

Remarks

The following images illustrate how the PaletteBaseColorNumber property works (the SnapChart.PaletteName property is set to “Slipstream”). If the PaletteBaseColorNumber property is 0, all palette colors are used to display chart series; otherwise series are painted based on a composition of the specified color.

PaletteBaseColorNumber = 0 PaletteBaseColorNumber = 1
Snap_PaletteBaseColorNumber0 Snap_PaletteBaseColorNumber1
PaletteBaseColorNumber = 2 PaletteBaseColorNumber = 3
Snap_PaletteBaseColorNumber2 Snap_PaletteBaseColorNumber3
See Also