TimeSpanAxisBase

StockSharp.Xaml.Charting.Visuals.Axes

A common base class for DateTimeAxis and TimeSpanAxis

Erbt von: AxisBase

Implementiert: IAxis, IAxisParams, IHitTestable, ISuspendable, IInvalidatableElement, IDrawable

Eigenschaften

MajorDelta : TimeSpan

Gets or sets the major delta.

MinimalZoomConstrain : TimeSpan?

Gets or sets the MinimalZoomConstrain of the Axis. This is used to set minimum distance between Min and Max of the VisibleRange

MinorDelta : TimeSpan

Gets or sets the minor delta.

Methoden

CalculateDataRange() : IRange

Calculates data range of current axis

CalculateDelta()

Calcuates the delta's for use in this render pass

CalculateYRange(RenderPassInfo) : IRange

Calculates the zoom-to-fit Y-Range of the axis, accounting for the data that is in the viewport and applying any GrowBy margin

renderPassInfo
Struct containing data for the current render pass

Rückgabe: The VisibleRange of the axis

Clone() : IAxis

Clones this instance.

GetDataValue(double) : IComparable

Transforms a pixel coordinate into a data value for this axis.

pixelCoordinate
GetMaximumRange() : IRange

Gets the Maximum Range of the axis, which is equal to the DataRange including any GrowBy factor applied

ToVisibleRange(IComparable, IComparable) : IRange

When overriden in a derived class, converts a Min Max IComparable value into an IRange of the correct type for this axis

min
The min value
max
The max value

Rückgabe: The IRange instance