In This Article

ISeriesStyleSelector Interface

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

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:

The Style to use for the specified series.

SelectBarStyle(SeriesBase, Int32, Int32, 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 Int32

The zero-based index of the bar.

barCount Int32

The number of bars.

defaultStyle Style

The default Style to use.

Returns

Style:

The Style to use for the specified series.

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:

The Style to use for the specified series.

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:

The Style to use for the specified series.

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:

The Style to use for the specified series.