Skip to main content
All docs
V21.2

DevExpress v24.2 Update — Your Feedback Matters

Our What's New in v24.2 webpage includes product-specific surveys. Your response to our survey questions will help us measure product satisfaction for features released in this major update and help us refine our plans for our next major release.

Take the survey Not interested

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