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
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
See Also
AreaTintColor
The tint color to apply to the resulting brush from the AreaBrushKind setting.
BarBrushCustom
The custom Brush to use for the fill inside bars.
public Brush? BarBrushCustom { get; set; }
Property Value
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
See Also
BarStrokeBrushCustom
The custom Brush to use for the stroke around bars.
public Brush? BarStrokeBrushCustom { get; set; }
Property Value
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
See Also
BarStrokeThickness
The thickness of the stroke around bars.
BarStrokeTintColor
The tint color to apply to the resulting brush from the BarStrokeBrushKind setting.
BarTintColor
The tint color to apply to the resulting brush from the BarBrushKind setting.
LineBrushCustom
The custom Brush to use for lines.
public Brush? LineBrushCustom { get; set; }
Property Value
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
See Also
LineTintColor
The tint color to apply to the resulting brush from the LineBrushKind setting.
MarkerBrushCustom
The custom Brush to use for markers.
public Brush? MarkerBrushCustom { get; set; }
Property Value
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
See Also
MarkerTintColor
The tint color to apply to the resulting brush from the MarkerBrushKind setting.
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, 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
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. |
Returns
Inherited Members
- PaletteStyleSelectorBase<SeriesPaletteData>.UnsetStrokeThickness
- PaletteStyleSelectorBase<SeriesPaletteData>.UnsetColor
- PaletteStyleSelectorBase<SeriesPaletteData>.GetPaletteData(int, int)
- PaletteStyleSelectorBase<SeriesPaletteData>.GetSettersFromStyle(Style)
- PaletteStyleSelectorBase<SeriesPaletteData>.InvalidatePaletteData()
- PaletteStyleSelectorBase<SeriesPaletteData>.Palette
- object.GetType()
- object.MemberwiseClone()
- object.ToString()
- object.Equals(object)
- object.Equals(object, object)
- object.ReferenceEquals(object, object)
- object.GetHashCode()