Skip to main content

Class LegendStyleDefinition

Namespace: VelloSharp.Charting.Styling.Configuration
Assembly: VelloSharp.Charting.dll

public sealed class LegendStyleDefinition

Inheritance​

object ← LegendStyleDefinition

Inherited Members​

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

Properties​

Background​

[JsonPropertyName("background")]
public string? Background { get; set; }

Property Value​

string?

Border​

[JsonPropertyName("border")]
public string? Border { get; set; }

Property Value​

string?

BorderThickness​

[JsonPropertyName("borderThickness")]
public double? BorderThickness { get; set; }

Property Value​

double?

ItemSpacing​

[JsonPropertyName("itemSpacing")]
public double? ItemSpacing { get; set; }

Property Value​

double?

LabelSpacing​

[JsonPropertyName("labelSpacing")]
public double? LabelSpacing { get; set; }

Property Value​

double?

LabelTypography​

[JsonPropertyName("labelTypography")]
public ChartTypographyDefinition? LabelTypography { get; set; }

Property Value​

ChartTypographyDefinition?

MarkerSize​

[JsonPropertyName("markerSize")]
public double? MarkerSize { get; set; }

Property Value​

double?

Padding​

[JsonPropertyName("padding")]
public double? Padding { get; set; }

Property Value​

double?

Methods​

ToLegendStyle(ChartPalette, ChartTypography)​

public LegendStyle ToLegendStyle(ChartPalette palette, ChartTypography fallbackTypography)

Parameters​

palette ChartPalette

fallbackTypography ChartTypography

Returns​

LegendStyle