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 a new instance of the SeriesPaletteStyleSelector class.

public SeriesPaletteStyleSelector()

SeriesPaletteStyleSelector(Palette)

Initializes a new instance of the SeriesPaletteStyleSelector class.

public SeriesPaletteStyleSelector(Palette palette)
Parameter Type Description
palette Palette

The Palette of colors to use.

Properties

AreaBrushCustom

Gets or sets the custom Brush to use for areas.

public Brush AreaBrushCustom { get; set; }

Property Value

Brush:

The custom Brush to use for areas.

Remarks

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

See Also

AreaBrushKind

Gets or sets the kind of brush to use for areas.

public SeriesBrushKind AreaBrushKind { get; set; }

Property Value

SeriesBrushKind:

A SeriesBrushKind indicating the kind of brush to use for areas.

See Also

AreaTintColor

Gets or sets the tint color to apply to the resulting brush from the AreaBrushKind setting.

public Color AreaTintColor { get; set; }

Property Value

Color:

The tint color, if tinting should be applied.

See Also

BarBrushCustom

Gets or sets the custom Brush to use for the fill inside bars.

public Brush BarBrushCustom { get; set; }

Property Value

Brush:

The custom Brush to use for the fill inside bars.

Remarks

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

See Also

BarBrushKind

Gets or sets the kind of brush to use for the fill inside bars.

public SeriesBrushKind BarBrushKind { get; set; }

Property Value

SeriesBrushKind:

A SeriesBrushKind indicating the kind of brush to use for the fill inside bars.

See Also

BarStrokeBrushCustom

Gets or sets the custom Brush to use for the stroke around bars.

public Brush BarStrokeBrushCustom { get; set; }

Property Value

Brush:

The custom Brush to use for the stroke around bars.

Remarks

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

See Also

BarStrokeBrushKind

Gets or sets the kind of brush to use for the stroke around bars.

public SeriesBrushKind BarStrokeBrushKind { get; set; }

Property Value

SeriesBrushKind:

A SeriesBrushKind indicating the kind of brush to use for the stroke around bars.

See Also

BarStrokeThickness

Gets or sets the thickness of the stroke around bars.

public double BarStrokeThickness { get; set; }

Property Value

double:

A Nullable<T> indicating the thickness of the stroke around bars.

BarStrokeTintColor

Gets or sets the tint color to apply to the resulting brush from the BarStrokeBrushKind setting.

public Color BarStrokeTintColor { get; set; }

Property Value

Color:

The tint color, if tinting should be applied.

See Also

BarTintColor

Gets or sets the tint color to apply to the resulting brush from the BarBrushKind setting.

public Color BarTintColor { get; set; }

Property Value

Color:

The tint color, if tinting should be applied.

See Also

LineBrushCustom

Gets or sets the custom Brush to use for lines.

public Brush LineBrushCustom { get; set; }

Property Value

Brush:

The custom Brush to use for lines.

Remarks

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

See Also

LineBrushKind

Gets or sets the kind of brush to use for lines.

public SeriesBrushKind LineBrushKind { get; set; }

Property Value

SeriesBrushKind:

A SeriesBrushKind indicating the kind of brush to use for lines.

See Also

LineTintColor

Gets or sets the tint color to apply to the resulting brush from the LineBrushKind setting.

public Color LineTintColor { get; set; }

Property Value

Color:

The tint color, if tinting should be applied.

See Also

MarkerBrushCustom

Gets or sets the custom Brush to use for markers.

public Brush MarkerBrushCustom { get; set; }

Property Value

Brush:

The custom Brush to use for markers.

Remarks

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

See Also

MarkerBrushKind

Gets or sets the kind of brush to use for markers.

public SeriesBrushKind MarkerBrushKind { get; set; }

Property Value

SeriesBrushKind:

A SeriesBrushKind indicating the kind of brush to use for markers.

See Also

MarkerTintColor

Gets or sets the tint color to apply to the resulting brush from the MarkerBrushKind setting.

public Color MarkerTintColor { get; set; }

Property Value

Color:

The tint color, if tinting should be applied.

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:

The Style to use for the specified series.

SelectBarStyle(SeriesBase, int, int, Style)

Returns the area Style to use for the specified bar 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:

The Style to use for the specified bar series.

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:

The Style to use for the specified series.

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:

The Style to use for the specified series.

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:

The Style to use for the specified series.

Inherited Members