SeriesStyleSelector Class
Provides a way to apply series styles based on custom logic.
public class SeriesStyleSelector : ISeriesStyleSelector
- Inheritance:
- Object Object
- Implements:
- ISeriesStyleSelector
Constructors
SeriesStyleSelector()
public SeriesStyleSelector()
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
SelectBarStyle(SeriesBase, Int32, Int32, 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 | Int32 | The zero-based index of the bar. |
barCount | Int32 | The number of bars. |
defaultStyle | Style | The default Style to use. |
Returns
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
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
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. |