Skip to main content

Class TimeRangeAnnotation

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

Shaded time range rendered across the plot width.

public sealed record TimeRangeAnnotation : ChartAnnotation, IEquatable<ChartAnnotation>, IEquatable<TimeRangeAnnotation>

Inheritance

objectChartAnnotationTimeRangeAnnotation

Implements

IEquatable<ChartAnnotation>, IEquatable<TimeRangeAnnotation>

Inherited Members

ChartAnnotation.Kind, ChartAnnotation.Label, ChartAnnotation.Color, ChartAnnotation.TargetPaneId, object.Equals(object?), object.Equals(object?, object?), object.GetHashCode(), object.GetType(), object.ReferenceEquals(object?, object?), object.ToString()

Constructors

TimeRangeAnnotation(double, double, string?)

Shaded time range rendered across the plot width.

public TimeRangeAnnotation(double StartSeconds, double EndSeconds, string? Label = null)

Parameters

StartSeconds double

EndSeconds double

Label string?

Properties

Border

public ChartColor? Border { get; init; }

Property Value

ChartColor?

BorderThickness

public double BorderThickness { get; init; }

Property Value

double

EndSeconds

public double EndSeconds { get; }

Property Value

double

Fill

public ChartColor? Fill { get; init; }

Property Value

ChartColor?

SnapMode

public AnnotationSnapMode SnapMode { get; init; }

Property Value

AnnotationSnapMode

StartSeconds

public double StartSeconds { get; }

Property Value

double