Skip to main content

Struct ChartCursorUpdate

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

Describes a cursor transition request for the chart animation controller.

public readonly record struct ChartCursorUpdate : IEquatable<ChartCursorUpdate>

Implements

IEquatable<ChartCursorUpdate>

Inherited Members

object.Equals(object?), object.Equals(object?, object?), object.GetHashCode(), object.GetType(), object.ReferenceEquals(object?, object?), object.ToString()

Constructors

ChartCursorUpdate(double, double, bool, TimeSpan?, TimeSpan?)

Describes a cursor transition request for the chart animation controller.

public ChartCursorUpdate(double TimestampSeconds, double Value, bool IsVisible, TimeSpan? PositionDuration = null, TimeSpan? FadeDuration = null)

Parameters

TimestampSeconds double

Value double

IsVisible bool

PositionDuration TimeSpan?

FadeDuration TimeSpan?

Properties

FadeDuration

public TimeSpan? FadeDuration { get; init; }

Property Value

TimeSpan?

IsVisible

public bool IsVisible { get; init; }

Property Value

bool

PositionDuration

public TimeSpan? PositionDuration { get; init; }

Property Value

TimeSpan?

TimestampSeconds

public double TimestampSeconds { get; init; }

Property Value

double

Value

public double Value { get; init; }

Property Value

double