Skip to main content

SeriesKeyColorColorizer.GetSeriesColor(Object, Palette) Method

Returns a color by the specified series identifier.

Namespace: DevExpress.XtraCharts

Assembly: DevExpress.XtraCharts.v24.2.dll

NuGet Package: DevExpress.Charts

#Declaration

public override Color GetSeriesColor(
    object seriesKey,
    Palette palette
)

#Parameters

Name Type Description
seriesKey Object

The series identifier by which the color is selected.

palette Palette

The chart’s current palette.

#Returns

Type Description
Color

The color assigned to the specified series identifier.

See Also