Skip to main content

Class ChartSeriesDefinition

Namespace: VelloSharp.ChartEngine
Assembly: VelloSharp.ChartEngine.dll

Base descriptor for configuring how a series should be rendered by the engine.

public abstract record ChartSeriesDefinition : IEquatable<ChartSeriesDefinition>

Inheritance​

object ← ChartSeriesDefinition

Derived​

AreaSeriesDefinition, BarSeriesDefinition, HeatmapSeriesDefinition, LineSeriesDefinition, PolylineBandSeriesDefinition, ScatterSeriesDefinition

Implements​

IEquatable<ChartSeriesDefinition>

Inherited Members​

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

Constructors​

ChartSeriesDefinition(uint)​

Base descriptor for configuring how a series should be rendered by the engine.

protected ChartSeriesDefinition(uint SeriesId)

Parameters​

SeriesId uint

Properties​

BarWidthSeconds​

Gets or sets the optional bar width expressed in seconds along the horizontal axis.

public double? BarWidthSeconds { get; init; }

Property Value​

double?

Baseline​

Gets or sets an optional baseline value used by area and bar series. When omitted the engine chooses a baseline derived from the visible range.

public double? Baseline { get; init; }

Property Value​

double?

FillOpacity​

Gets or sets an optional fill opacity (0..1) used for filled series variants.

public double? FillOpacity { get; init; }

Property Value​

double?

MarkerSize​

Gets or sets an optional marker size (diameter, in device-independent pixels) for scatter points.

public double? MarkerSize { get; init; }

Property Value​

double?

SeriesId​

public uint SeriesId { get; init; }

Property Value​

uint

StrokeWidth​

Gets or sets an optional stroke width override in device-independent pixels.

public double? StrokeWidth { get; init; }

Property Value​

double?

Methods​

Validate()​

protected virtual void Validate()