In This Article

SeriesPaletteStyleSelector Class

Provides a way to apply series styles based on a palette of colors.

public class SeriesPaletteStyleSelector : PaletteStyleSelectorBase<SeriesPaletteData>, ISeriesStyleSelector
Inheritance:
object PaletteStyleSelectorBase<SeriesPaletteData> object
Implements:
ISeriesStyleSelector

Constructors

SeriesPaletteStyleSelector()

Initializes an instance of the class.

public SeriesPaletteStyleSelector()

SeriesPaletteStyleSelector(Palette?)

Initializes an instance of the class.

public SeriesPaletteStyleSelector(Palette? palette)
Parameter Type Description
palette Palette

The Palette of colors to use.

Properties

AreaBrushCustom

The custom Brush to use for areas.

public Brush? AreaBrushCustom { get; set; }

Property Value

Brush

Remarks

When specified, this brush will directly be used instead of the resulting brush from the AreaBrushKind setting.

See Also

AreaBrushKind

The kind of brush to use for areas.

public SeriesBrushKind AreaBrushKind { get; set; }

Property Value

SeriesBrushKind

See Also

AreaTintColor

The tint color to apply to the resulting brush from the AreaBrushKind setting.

public Color AreaTintColor { get; set; }

Property Value

Color

See Also

BarBrushCustom

The custom Brush to use for the fill inside bars.

public Brush? BarBrushCustom { get; set; }

Property Value

Brush

Remarks

When specified, this brush will directly be used instead of the resulting brush from the BarBrushKind setting.

See Also

BarBrushKind

The kind of brush to use for the fill inside bars.

public SeriesBrushKind BarBrushKind { get; set; }

Property Value

SeriesBrushKind

See Also

BarStrokeBrushCustom

The custom Brush to use for the stroke around bars.

public Brush? BarStrokeBrushCustom { get; set; }

Property Value

Brush

Remarks

When specified, this brush will directly be used instead of the resulting brush from the BarStrokeBrushKind setting.

See Also

BarStrokeBrushKind

The kind of brush to use for the stroke around bars.

public SeriesBrushKind BarStrokeBrushKind { get; set; }

Property Value

SeriesBrushKind

See Also

BarStrokeThickness

The thickness of the stroke around bars.

public double BarStrokeThickness { get; set; }

Property Value

double

BarStrokeTintColor

The tint color to apply to the resulting brush from the BarStrokeBrushKind setting.

public Color BarStrokeTintColor { get; set; }

Property Value

Color

See Also

BarTintColor

The tint color to apply to the resulting brush from the BarBrushKind setting.

public Color BarTintColor { get; set; }

Property Value

Color

See Also

LineBrushCustom

The custom Brush to use for lines.

public Brush? LineBrushCustom { get; set; }

Property Value

Brush

Remarks

When specified, this brush will directly be used instead of the resulting brush from the LineBrushKind setting.

See Also

LineBrushKind

The kind of brush to use for lines.

public SeriesBrushKind LineBrushKind { get; set; }

Property Value

SeriesBrushKind

See Also

LineTintColor

The tint color to apply to the resulting brush from the LineBrushKind setting.

public Color LineTintColor { get; set; }

Property Value

Color

See Also

MarkerBrushCustom

The custom Brush to use for markers.

public Brush? MarkerBrushCustom { get; set; }

Property Value

Brush

Remarks

When specified, this brush will directly be used instead of the resulting brush from the MarkerBrushKind setting.

See Also

MarkerBrushKind

The kind of brush to use for markers.

public SeriesBrushKind MarkerBrushKind { get; set; }

Property Value

SeriesBrushKind

See Also

MarkerTintColor

The tint color to apply to the resulting brush from the MarkerBrushKind setting.

public Color MarkerTintColor { get; set; }

Property Value

Color

See Also

Methods

SelectAreaStyle(SeriesBase, Style?)

Returns the area Style to use for the specified series.

public virtual Style? SelectAreaStyle(SeriesBase series, Style? defaultStyle)
Parameter Type Description
series SeriesBase

The series to examine.

defaultStyle Style

The default Style to use.

Returns

Style

SelectBarStyle(SeriesBase, int, int, Style?)

Returns the bar Style to use for the specified series.

public virtual Style? SelectBarStyle(SeriesBase series, int barIndex, int barCount, Style? defaultStyle)
Parameter Type Description
series SeriesBase

The series to examine.

barIndex int

The zero-based index of the bar.

barCount int

The number of bars.

defaultStyle Style

The default Style to use.

Returns

Style

SelectLegendMarkerStyle(XYSeriesBase, Style?)

Returns the legend marker Style to use for the specified series.

public virtual Style? SelectLegendMarkerStyle(XYSeriesBase series, Style? defaultStyle)
Parameter Type Description
series XYSeriesBase

The series to examine.

defaultStyle Style

The default Style to use.

Returns

Style

SelectLineStyle(SeriesBase, Style?)

Returns the line Style to use for the specified series.

public virtual Style? SelectLineStyle(SeriesBase series, Style? defaultStyle)
Parameter Type Description
series SeriesBase

The series to examine.

defaultStyle Style

The default Style to use.

Returns

Style

SelectMarkerStyle(SeriesBase, Style?)

Returns the marker Style to use for the specified series.

public virtual Style? SelectMarkerStyle(SeriesBase series, Style? defaultStyle)
Parameter Type Description
series SeriesBase

The series to examine.

defaultStyle Style

The default Style to use.

Returns

Style

Inherited Members

Extension Methods