Skip to main content

Class HorizontalLineAnnotation

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

Horizontal reference line rendered across the pane.

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

Inheritance

objectChartAnnotationHorizontalLineAnnotation

Implements

IEquatable<ChartAnnotation>, IEquatable<HorizontalLineAnnotation>

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

HorizontalLineAnnotation(double, string?)

Horizontal reference line rendered across the pane.

public HorizontalLineAnnotation(double Value, string? Label = null)

Parameters

Value double

Label string?

Properties

SnapMode

public AnnotationSnapMode SnapMode { get; init; }

Property Value

AnnotationSnapMode

Thickness

public double Thickness { get; init; }

Property Value

double

Value

public double Value { get; }

Property Value

double