NumericTickProvider

StockSharp.Xaml.Charting.Visuals.Axes

Provides tick Coordinates for the NumericAxis

Erbt von: TickProvider<double>

Methoden

CalculateMajorTicks(IRange<double>, IAxisDelta<double>) : double[]

Calculates the Major Ticks for the axis given a VisibleRange and Delta

tickRange
The VisibleRange
tickDelta
The Deltas, e.g. MinorDelta and MajorDelta

Rückgabe: The Major ticks (data values) as double

CalculateMinorTicks(IRange<double>, IAxisDelta<double>, double[]) : double[]

Calculates the Minor Ticks for the axis given a VisibleRange and Delta

tickRange
The VisibleRange
tickDelta
The Deltas, e.g. MinorDelta and MajorDelta
majorTicks
The previously calculated Major Ticks

Rückgabe: The Minor Ticks (data values) as double

CalculateMinorTicks(IRange<double>, IAxisDelta<double>) : double[]

Calculates the Minor Ticks for the axis given a VisibleRange and Delta

tickRange
The VisibleRange
tickDelta
The Deltas, e.g. MinorDelta and MajorDelta

Rückgabe: The Major ticks (data values) as double

GetMajorTicks(IAxisParams) : double[]

Calls Double}) to calcuate Minor Ticks, then returns a double representation of minor ticks array

axis
The AxisParams for the axis

Rückgabe: The array of ticks to display (data values converted to double)

GetMajorTicks(IRange<double>, IAxisDelta<double>) : double[]

Given a double tick range with Min, Max, MajorDelta and MinorDelta, return an array of absolute values for major ticks

GetMinorTicks(IAxisParams) : double[]

Calls Double}) to calcuate Minor Ticks, then returns a double representation of minor ticks array

axis
The AxisParams for the axis

Rückgabe: The array of ticks to display (data values converted to double)

GetMinorTicks(IRange<double>, IAxisDelta<double>) : double[]

Given a tickRange with Min, Max, MajorDelta and MinorDelta, return an array of absolute values for minor ticks

GetMinorTicks(IRange<double>, IAxisDelta<double>, double[]) : double[]

Given a tickRange with Min, Max, MajorDelta and MinorDelta, return an array of absolute values for minor ticks

IsParamsValid(IRange<double>, IAxisDelta<double>) : bool

Determines whether the VisibleRange and Delta parameters are valid, e.g. are Real Numbers, and VisibleRange.Min < Max

tickRange
The VisibleRange
tickDelta
The Delta, e.g. MinorDelta, MajorDelta