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
object ← ChartAnnotation ← HorizontalLineAnnotation
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
Thickness
public double Thickness { get; init; }
Property Value
Value
public double Value { get; }