ScottPlot
Loading...
Searching...
No Matches
Public Member Functions | Static Public Member Functions | Properties | List of all members
ScottPlot.PlotStyle Class Reference

This object holds many common plot style customizations and facilitates switching between styles or copying styles from one plot to another. More...

Inheritance diagram for ScottPlot.PlotStyle:
ScottPlot.PlotStyles.Dark ScottPlot.PlotStyles.Light

Public Member Functions

void Apply (Plot plot)
 Apply these style settings to the given plot.
 
PlotStyle WhereDifferentFrom (PlotStyle other)
 Return a plot style with all values nulled except those that are different than the given style.
 

Static Public Member Functions

static PlotStyle FromPlot (Plot plot)
 Return the styles represented by the given plot.
 

Properties

IPalettePalette = null [get, set]
 
ColorFigureBackgroundColor = null [get, set]
 
ColorDataBackgroundColor = null [get, set]
 
ColorAxisColor = null [get, set]
 
ColorGridMajorLineColor = null [get, set]
 
ColorLegendBackgroundColor = null [get, set]
 
ColorLegendFontColor = null [get, set]
 
ColorLegendOutlineColor = null [get, set]
 

Detailed Description

This object holds many common plot style customizations and facilitates switching between styles or copying styles from one plot to another.

Member Function Documentation

◆ Apply()

void ScottPlot.PlotStyle.Apply ( Plot  plot)
inline

Apply these style settings to the given plot.

◆ FromPlot()

static PlotStyle ScottPlot.PlotStyle.FromPlot ( Plot  plot)
inlinestatic

Return the styles represented by the given plot.

◆ WhereDifferentFrom()

PlotStyle ScottPlot.PlotStyle.WhereDifferentFrom ( PlotStyle  other)
inline

Return a plot style with all values nulled except those that are different than the given style.

Property Documentation

◆ AxisColor

Color? ScottPlot.PlotStyle.AxisColor = null
getset

◆ DataBackgroundColor

Color? ScottPlot.PlotStyle.DataBackgroundColor = null
getset

◆ FigureBackgroundColor

Color? ScottPlot.PlotStyle.FigureBackgroundColor = null
getset

◆ GridMajorLineColor

Color? ScottPlot.PlotStyle.GridMajorLineColor = null
getset

◆ LegendBackgroundColor

Color? ScottPlot.PlotStyle.LegendBackgroundColor = null
getset

◆ LegendFontColor

Color? ScottPlot.PlotStyle.LegendFontColor = null
getset

◆ LegendOutlineColor

Color? ScottPlot.PlotStyle.LegendOutlineColor = null
getset

◆ Palette

IPalette? ScottPlot.PlotStyle.Palette = null
getset

The documentation for this class was generated from the following file: