Class LegendItem
- Namespace
- ScottPlot
- Assembly
- ScottPlot.dll
public class LegendItem : LabelStyleProperties, IHasMarker, IHasLine, IHasFill, IHasArrow
- Inheritance
-
LegendItem
- Implements
- Inherited Members
- Extension Methods
Properties
ArrowAnchor
public ArrowAnchor ArrowAnchor { get; set; }
Property Value
ArrowFillColor
public Color ArrowFillColor { get; set; }
Property Value
ArrowLineColor
public Color ArrowLineColor { get; set; }
Property Value
ArrowLineWidth
public float ArrowLineWidth { get; set; }
Property Value
ArrowMaximumLength
public float ArrowMaximumLength { get; set; }
Property Value
ArrowMinimumLength
public float ArrowMinimumLength { get; set; }
Property Value
ArrowOffset
public float ArrowOffset { get; set; }
Property Value
ArrowStyle
public ArrowStyle ArrowStyle { get; set; }
Property Value
ArrowWidth
public float ArrowWidth { get; set; }
Property Value
ArrowheadAxisLength
public float ArrowheadAxisLength { get; set; }
Property Value
ArrowheadLength
public float ArrowheadLength { get; set; }
Property Value
ArrowheadWidth
public float ArrowheadWidth { get; set; }
Property Value
FillColor
public Color FillColor { get; set; }
Property Value
FillHatch
public IHatch? FillHatch { get; set; }
Property Value
FillHatchColor
public Color FillHatchColor { get; set; }
Property Value
FillStyle
public FillStyle FillStyle { get; set; }
Property Value
IsVisible
public bool IsVisible { get; set; }
Property Value
Label
[Obsolete("use LabelText")]
public string Label { get; set; }
Property Value
LabelStyle
public override LabelStyle LabelStyle { get; set; }
Property Value
Line
[Obsolete("use LineStyle")]
public LineStyle Line { get; set; }
Property Value
LineColor
public Color LineColor { get; set; }
Property Value
LinePattern
public LinePattern LinePattern { get; set; }
Property Value
LineStyle
public LineStyle LineStyle { get; set; }
Property Value
LineWidth
public float LineWidth { get; set; }
Property Value
Marker
[Obsolete("use MarkerStyle")]
public MarkerStyle Marker { get; set; }
Property Value
MarkerColor
public Color MarkerColor { get; set; }
Property Value
MarkerFillColor
public Color MarkerFillColor { get; set; }
Property Value
MarkerLineColor
public Color MarkerLineColor { get; set; }
Property Value
MarkerLineWidth
public float MarkerLineWidth { get; set; }
Property Value
MarkerShape
public MarkerShape MarkerShape { get; set; }
Property Value
MarkerSize
public float MarkerSize { get; set; }
Property Value
MarkerStyle
public MarkerStyle MarkerStyle { get; set; }
Property Value
None
public static IEnumerable<LegendItem> None { get; }
Property Value
OutlineColor
public Color OutlineColor { get; set; }
Property Value
OutlinePattern
public LinePattern OutlinePattern { get; set; }
Property Value
OutlineStyle
public LineStyle OutlineStyle { get; set; }
Property Value
OutlineWidth
public float OutlineWidth { get; set; }
Property Value
Plottable
Plottable this legend item is associated with
public IPlottable? Plottable { get; set; }
Property Value
Methods
Single(IPlottable, string, FillStyle)
public static IEnumerable<LegendItem> Single(IPlottable plottable, string label, FillStyle fillStyle)
Parameters
plottable
IPlottablelabel
stringfillStyle
FillStyle
Returns
Single(IPlottable, string, FillStyle, LineStyle)
public static IEnumerable<LegendItem> Single(IPlottable plottable, string label, FillStyle fillStyle, LineStyle lineStyle)
Parameters
plottable
IPlottablelabel
stringfillStyle
FillStylelineStyle
LineStyle
Returns
Single(IPlottable, string, LineStyle)
public static IEnumerable<LegendItem> Single(IPlottable plottable, string label, LineStyle lineStyle)
Parameters
plottable
IPlottablelabel
stringlineStyle
LineStyle
Returns
Single(IPlottable, string, LineStyle, MarkerStyle)
public static IEnumerable<LegendItem> Single(IPlottable plottable, string label, LineStyle lineStyle, MarkerStyle markerStyle)
Parameters
plottable
IPlottablelabel
stringlineStyle
LineStylemarkerStyle
MarkerStyle
Returns
Single(IPlottable, string, MarkerStyle)
public static IEnumerable<LegendItem> Single(IPlottable plottable, string label, MarkerStyle markerStyle)
Parameters
plottable
IPlottablelabel
stringmarkerStyle
MarkerStyle
Returns
Single(IPlottable, string, MarkerStyle, LineStyle)
public static IEnumerable<LegendItem> Single(IPlottable plottable, string label, MarkerStyle markerStyle, LineStyle lineStyle)
Parameters
plottable
IPlottablelabel
stringmarkerStyle
MarkerStylelineStyle
LineStyle
Returns
Single(LegendItem)
public static IEnumerable<LegendItem> Single(LegendItem item)
Parameters
item
LegendItem