Skip to main content

Class VerticalLineAnnotation

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

Vertical reference line rendered across the plot width.

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

Inheritance​

object ← ChartAnnotation ← VerticalLineAnnotation

Implements​

IEquatable<ChartAnnotation>, IEquatable<VerticalLineAnnotation>

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​

VerticalLineAnnotation(double, string?)​

Vertical reference line rendered across the plot width.

public VerticalLineAnnotation(double TimestampSeconds, string? Label = null)

Parameters​

TimestampSeconds double

Label string?

Properties​

SnapMode​

public AnnotationSnapMode SnapMode { get; init; }

Property Value​

AnnotationSnapMode

Thickness​

public double Thickness { get; init; }

Property Value​

double

TimestampSeconds​

public double TimestampSeconds { get; }

Property Value​

double