In This Article

ISeriesStyleSelector Interface

Provides the base requirements for a class that determines how a series will be styled.

[TypeConverter(typeof(SeriesStyleSelectorConverter))]
public interface ISeriesStyleSelector

Methods

SelectAreaStyle(SeriesBase, Style?)

Returns the area Style to use for the specified series.

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.

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.

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.

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.

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

The series to examine.

defaultStyle Style

The default Style to use.

Returns

Style

Extension Methods