Skip to main content

Struct LegendItem

Namespace: VelloSharp.Charting.Legend
Assembly: VelloSharp.Charting.dll

public readonly record struct LegendItem : IEquatable<LegendItem>

Implements

IEquatable<LegendItem>

Inherited Members

object.Equals(object?), object.Equals(object?, object?), object.GetHashCode(), object.GetType(), object.ReferenceEquals(object?, object?), object.ToString()

Constructors

LegendItem(string, RgbaColor, ChartSeriesKind, double, double, double)

public LegendItem(string Label, RgbaColor Color, ChartSeriesKind Kind, double StrokeWidth, double FillOpacity, double MarkerSize)

Parameters

Label string

Color RgbaColor

Kind ChartSeriesKind

StrokeWidth double

FillOpacity double

MarkerSize double

Properties

Color

public RgbaColor Color { get; init; }

Property Value

RgbaColor

FillOpacity

public double FillOpacity { get; init; }

Property Value

double

Kind

public ChartSeriesKind Kind { get; init; }

Property Value

ChartSeriesKind

Label

public string Label { get; init; }

Property Value

string

MarkerSize

public double MarkerSize { get; init; }

Property Value

double

StrokeWidth

public double StrokeWidth { get; init; }

Property Value

double