ScottPlot
Loading...
Searching...
No Matches
Static Public Member Functions | Properties | List of all members
ScottPlot.LegendItem Class Reference
Inheritance diagram for ScottPlot.LegendItem:
ScottPlot.LabelStyleProperties ScottPlot.IHasMarker ScottPlot.IHasLine ScottPlot.IHasFill ScottPlot.IHasArrow ScottPlot.IHasLabel ScottPlot.IHasLabel

Static Public Member Functions

static IEnumerable< LegendItemSingle (LegendItem item)
 
static IEnumerable< LegendItemSingle (IPlottable plottable, string label, MarkerStyle markerStyle)
 
static IEnumerable< LegendItemSingle (IPlottable plottable, string label, MarkerStyle markerStyle, LineStyle lineStyle)
 
static IEnumerable< LegendItemSingle (IPlottable plottable, string label, LineStyle lineStyle)
 
static IEnumerable< LegendItemSingle (IPlottable plottable, string label, FillStyle fillStyle)
 
static IEnumerable< LegendItemSingle (IPlottable plottable, string label, FillStyle fillStyle, LineStyle lineStyle)
 
static IEnumerable< LegendItemSingle (IPlottable plottable, string label, LineStyle lineStyle, MarkerStyle markerStyle)
 

Properties

bool IsVisible = true [get, set]
 
IPlottablePlottable = null [get, set]
 Plottable this legend item is associated with.
 
override LabelStyle LabelStyle = new() { Alignment = Alignment.MiddleLeft } [get, set]
 
LineStyle LineStyle = new() { Width = 0 } [get, set]
 
float LineWidth [get, set]
 
LinePattern LinePattern [get, set]
 
Color LineColor [get, set]
 
FillStyle FillStyle = new() [get, set]
 
Color FillColor [get, set]
 
Color FillHatchColor [get, set]
 
IHatchFillHatch [get, set]
 
LineStyle OutlineStyle = new() { Width = 0 } [get, set]
 
float OutlineWidth [get, set]
 
LinePattern OutlinePattern [get, set]
 
Color OutlineColor [get, set]
 
MarkerStyle MarkerStyle = new() [get, set]
 
MarkerShape MarkerShape [get, set]
 
float MarkerSize [get, set]
 
Color MarkerFillColor [get, set]
 
Color MarkerLineColor [get, set]
 
Color MarkerColor [get, set]
 
float MarkerLineWidth [get, set]
 
ArrowStyle ArrowStyle = new() [get, set]
 
Color ArrowLineColor [get, set]
 
float ArrowLineWidth [get, set]
 
Color ArrowFillColor [get, set]
 
float ArrowMinimumLength [get, set]
 
float ArrowMaximumLength [get, set]
 
float ArrowOffset [get, set]
 
ArrowAnchor ArrowAnchor [get, set]
 
float ArrowWidth [get, set]
 
float ArrowheadAxisLength [get, set]
 
float ArrowheadLength [get, set]
 
float ArrowheadWidth [get, set]
 
LineStyle Line [get, set]
 
MarkerStyle Marker [get, set]
 
string Label [get, set]
 
static IEnumerable< LegendItemNone [get]
 
- Properties inherited from ScottPlot.LabelStyleProperties
LabelStyle LabelStyle [get, set]
 
float LabelOffsetX [get, set]
 
float LabelOffsetY [get, set]
 
float LabelRotation [get, set]
 
float LabelPadding [set]
 
PixelPadding LabelPixelPadding [get, set]
 
PixelRect LabelLastRenderPixelRect [get]
 
string LabelText [get, set]
 
Alignment LabelAlignment [get, set]
 
string LabelFontName [get, set]
 
float LabelFontSize [get, set]
 
float? LabelLineSpacing [get, set]
 
bool LabelItalic [get, set]
 
bool LabelBold [get, set]
 
Color LabelFontColor [get, set]
 
Color LabelBackgroundColor [get, set]
 
float LabelBorderRadius [get, set]
 
float LabelBorderRadiusX [get, set]
 
float LabelBorderRadiusY [get, set]
 
float LabelBorderWidth [get, set]
 
Color LabelBorderColor [get, set]
 
Color LabelShadowColor [get, set]
 
PixelOffset LabelShadowOffset [get, set]
 
- Properties inherited from ScottPlot.IHasLabel
- Properties inherited from ScottPlot.IHasMarker
- Properties inherited from ScottPlot.IHasLine
- Properties inherited from ScottPlot.IHasFill
- Properties inherited from ScottPlot.IHasArrow

Member Function Documentation

◆ Single() [1/7]

static IEnumerable< LegendItem > ScottPlot.LegendItem.Single ( IPlottable  plottable,
string  label,
FillStyle  fillStyle 
)
inlinestatic

◆ Single() [2/7]

static IEnumerable< LegendItem > ScottPlot.LegendItem.Single ( IPlottable  plottable,
string  label,
FillStyle  fillStyle,
LineStyle  lineStyle 
)
inlinestatic

◆ Single() [3/7]

static IEnumerable< LegendItem > ScottPlot.LegendItem.Single ( IPlottable  plottable,
string  label,
LineStyle  lineStyle 
)
inlinestatic

◆ Single() [4/7]

static IEnumerable< LegendItem > ScottPlot.LegendItem.Single ( IPlottable  plottable,
string  label,
LineStyle  lineStyle,
MarkerStyle  markerStyle 
)
inlinestatic

◆ Single() [5/7]

static IEnumerable< LegendItem > ScottPlot.LegendItem.Single ( IPlottable  plottable,
string  label,
MarkerStyle  markerStyle 
)
inlinestatic

◆ Single() [6/7]

static IEnumerable< LegendItem > ScottPlot.LegendItem.Single ( IPlottable  plottable,
string  label,
MarkerStyle  markerStyle,
LineStyle  lineStyle 
)
inlinestatic

◆ Single() [7/7]

static IEnumerable< LegendItem > ScottPlot.LegendItem.Single ( LegendItem  item)
static

Property Documentation

◆ ArrowAnchor

ArrowAnchor ScottPlot.LegendItem.ArrowAnchor
getset

Implements ScottPlot.IHasArrow.

◆ ArrowFillColor

Color ScottPlot.LegendItem.ArrowFillColor
getset

Implements ScottPlot.IHasArrow.

◆ ArrowheadAxisLength

float ScottPlot.LegendItem.ArrowheadAxisLength
getset

Implements ScottPlot.IHasArrow.

◆ ArrowheadLength

float ScottPlot.LegendItem.ArrowheadLength
getset

Implements ScottPlot.IHasArrow.

◆ ArrowheadWidth

float ScottPlot.LegendItem.ArrowheadWidth
getset

Implements ScottPlot.IHasArrow.

◆ ArrowLineColor

Color ScottPlot.LegendItem.ArrowLineColor
getset

Implements ScottPlot.IHasArrow.

◆ ArrowLineWidth

float ScottPlot.LegendItem.ArrowLineWidth
getset

Implements ScottPlot.IHasArrow.

◆ ArrowMaximumLength

float ScottPlot.LegendItem.ArrowMaximumLength
getset

Implements ScottPlot.IHasArrow.

◆ ArrowMinimumLength

float ScottPlot.LegendItem.ArrowMinimumLength
getset

Implements ScottPlot.IHasArrow.

◆ ArrowOffset

float ScottPlot.LegendItem.ArrowOffset
getset

Implements ScottPlot.IHasArrow.

◆ ArrowStyle

ArrowStyle ScottPlot.LegendItem.ArrowStyle = new()
getset

Implements ScottPlot.IHasArrow.

◆ ArrowWidth

float ScottPlot.LegendItem.ArrowWidth
getset

Implements ScottPlot.IHasArrow.

◆ FillColor

Color ScottPlot.LegendItem.FillColor
getset

Implements ScottPlot.IHasFill.

◆ FillHatch

IHatch? ScottPlot.LegendItem.FillHatch
getset

Implements ScottPlot.IHasFill.

◆ FillHatchColor

Color ScottPlot.LegendItem.FillHatchColor
getset

Implements ScottPlot.IHasFill.

◆ FillStyle

FillStyle ScottPlot.LegendItem.FillStyle = new()
getset

Implements ScottPlot.IHasFill.

◆ IsVisible

bool ScottPlot.LegendItem.IsVisible = true
getset

◆ Label

string ScottPlot.LegendItem.Label
getset

◆ LabelStyle

override LabelStyle ScottPlot.LegendItem.LabelStyle = new() { Alignment = Alignment.MiddleLeft }
getset

Implements ScottPlot.IHasLabel.

◆ Line

LineStyle ScottPlot.LegendItem.Line
getset

◆ LineColor

Color ScottPlot.LegendItem.LineColor
getset

Implements ScottPlot.IHasLine.

◆ LinePattern

LinePattern ScottPlot.LegendItem.LinePattern
getset

Implements ScottPlot.IHasLine.

◆ LineStyle

LineStyle ScottPlot.LegendItem.LineStyle = new() { Width = 0 }
getset

Implements ScottPlot.IHasLine.

◆ LineWidth

float ScottPlot.LegendItem.LineWidth
getset

Implements ScottPlot.IHasLine.

◆ Marker

MarkerStyle ScottPlot.LegendItem.Marker
getset

◆ MarkerColor

Color ScottPlot.LegendItem.MarkerColor
getset

Implements ScottPlot.IHasMarker.

◆ MarkerFillColor

Color ScottPlot.LegendItem.MarkerFillColor
getset

Implements ScottPlot.IHasMarker.

◆ MarkerLineColor

Color ScottPlot.LegendItem.MarkerLineColor
getset

Implements ScottPlot.IHasMarker.

◆ MarkerLineWidth

float ScottPlot.LegendItem.MarkerLineWidth
getset

Implements ScottPlot.IHasMarker.

◆ MarkerShape

MarkerShape ScottPlot.LegendItem.MarkerShape
getset

Implements ScottPlot.IHasMarker.

◆ MarkerSize

float ScottPlot.LegendItem.MarkerSize
getset

Implements ScottPlot.IHasMarker.

◆ MarkerStyle

MarkerStyle ScottPlot.LegendItem.MarkerStyle = new()
getset

Implements ScottPlot.IHasMarker.

◆ None

IEnumerable<LegendItem> ScottPlot.LegendItem.None
staticget

◆ OutlineColor

Color ScottPlot.LegendItem.OutlineColor
getset

◆ OutlinePattern

LinePattern ScottPlot.LegendItem.OutlinePattern
getset

◆ OutlineStyle

LineStyle ScottPlot.LegendItem.OutlineStyle = new() { Width = 0 }
getset

◆ OutlineWidth

float ScottPlot.LegendItem.OutlineWidth
getset

◆ Plottable

IPlottable? ScottPlot.LegendItem.Plottable = null
getset

Plottable this legend item is associated with.


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