Class PlotStyle
- Namespace
- ScottPlot
- Assembly
- ScottPlot.dll
This object holds many common plot style customizations and facilitates switching between styles or copying styles from one plot to another.
public class PlotStyle
- Inheritance
-
PlotStyle
- Derived
- Inherited Members
- Extension Methods
Properties
AxisColor
public Color? AxisColor { get; set; }
Property Value
DataBackgroundColor
public Color? DataBackgroundColor { get; set; }
Property Value
FigureBackgroundColor
public Color? FigureBackgroundColor { get; set; }
Property Value
GridMajorLineColor
public Color? GridMajorLineColor { get; set; }
Property Value
LegendBackgroundColor
public Color? LegendBackgroundColor { get; set; }
Property Value
LegendFontColor
public Color? LegendFontColor { get; set; }
Property Value
LegendOutlineColor
public Color? LegendOutlineColor { get; set; }
Property Value
Palette
public IPalette? Palette { get; set; }
Property Value
Methods
Apply(Plot)
Apply these style settings to the given plot
public void Apply(Plot plot)
Parameters
plot
Plot
FromPlot(Plot)
Return the styles represented by the given plot
public static PlotStyle FromPlot(Plot plot)
Parameters
plot
Plot
Returns
WhereDifferentFrom(PlotStyle)
Return a plot style with all values nulled except those that are different than the given style
public PlotStyle WhereDifferentFrom(PlotStyle other)
Parameters
other
PlotStyle