Skip to main content

WebChartControl.PaletteBaseColorNumber Property

Gets or sets the number of a color within the selected palette, which will be used as a base color to paint series points.

Namespace: DevExpress.XtraCharts.Web

Assembly: DevExpress.XtraCharts.v24.2.Web.dll

Declaration

public int PaletteBaseColorNumber { get; set; }

Property Value

Type Description
Int32

An integer value representing a 1-based color number.

Remarks

The following pictures illustrate how the PaletteBaseColorNumber property works. Note that when the PaletteBaseColorNumber property is set to 0, and the SeriesViewColorEachSupportBase.ColorEach property of a series is set to true, a palette’s colors are used to paint individual points of that series.

PaletteBaseColorNumber = 0 PaletteBaseColorNumber = 1 PaletteBaseColorNumber = 3
PaletteBaseColorNumber0 PaletteBaseColorNumber1 PaletteBaseColorNumber3

The following code snippet (auto-collected from DevExpress Examples) contains a reference to the PaletteBaseColorNumber property.

Note

The algorithm used to collect these code examples remains a work in progress. Accordingly, the links and snippets below may produce inaccurate results. If you encounter an issue with code examples below, please use the feedback form on this page to report the issue.

See Also