Skip to main content

Class CalloutAnnotation

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

Textual callout anchored to a specific time/value coordinate.

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

Inheritance​

object ← ChartAnnotation ← CalloutAnnotation

Implements​

IEquatable<ChartAnnotation>, IEquatable<CalloutAnnotation>

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​

CalloutAnnotation(double, double, string)​

Textual callout anchored to a specific time/value coordinate.

public CalloutAnnotation(double TimestampSeconds, double Value, string Label)

Parameters​

TimestampSeconds double

Value double

Label string

Properties​

Background​

public ChartColor? Background { get; init; }

Property Value​

ChartColor?

Border​

public ChartColor? Border { get; init; }

Property Value​

ChartColor?

Padding​

public double Padding { get; init; }

Property Value​

double

Placement​

public AnnotationCalloutPlacement Placement { get; init; }

Property Value​

AnnotationCalloutPlacement

PointerLength​

public double PointerLength { get; init; }

Property Value​

double

SnapMode​

public AnnotationSnapMode SnapMode { get; init; }

Property Value​

AnnotationSnapMode

TextColor​

public ChartColor? TextColor { get; init; }

Property Value​

ChartColor?

TimestampSeconds​

public double TimestampSeconds { get; }

Property Value​

double

Value​

public double Value { get; }

Property Value​

double