Class LegendStyle
Namespace: VelloSharp.Charting.Styling
Assembly: VelloSharp.Charting.dll
Encapsulates styling tokens for legends.
public sealed class LegendStyle
Inheritance
Inherited Members
object.Equals(object?), object.Equals(object?, object?), object.GetHashCode(), object.GetType(), object.ReferenceEquals(object?, object?), object.ToString()
Constructors
LegendStyle(RgbaColor, RgbaColor, double, ChartTypography, double, double, double, double)
public LegendStyle(RgbaColor background, RgbaColor border, double borderThickness, ChartTypography labelTypography, double markerSize = 10, double itemSpacing = 8, double padding = 12, double labelSpacing = 6)
Parameters
background
RgbaColor
border
RgbaColor
borderThickness
double
labelTypography
ChartTypography
markerSize
double
itemSpacing
double
padding
double
labelSpacing
double
Properties
Background
public RgbaColor Background { get; }
Property Value
Border
public RgbaColor Border { get; }
Property Value
BorderThickness
public double BorderThickness { get; }
Property Value
ItemSpacing
public double ItemSpacing { get; }
Property Value
LabelSpacing
public double LabelSpacing { get; }
Property Value
LabelTypography
public ChartTypography LabelTypography { get; }
Property Value
MarkerSize
public double MarkerSize { get; }
Property Value
Padding
public double Padding { get; }