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
object ← ChartAnnotation ← TimeRangeAnnotation
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
BorderThickness
public double BorderThickness { get; init; }
Property Value
EndSeconds
public double EndSeconds { get; }
Property Value
Fill
public ChartColor? Fill { get; init; }
Property Value
SnapMode
public AnnotationSnapMode SnapMode { get; init; }
Property Value
StartSeconds
public double StartSeconds { get; }