TimeSpanAxis

StockSharp.Xaml.Charting.Visuals.Axes

Provides a Linear, Value TimeSpan Axis, capable of rendering TimeSpan ticks on the X-Axis of a UltrachartSurface.

Наследует: TimeSpanAxisBase

Конструкторы

TimeSpanAxis()

Initializes a new instance of the TimeSpanAxis class.

Методы

CoerceZeroRange(IRange) : IRange

Coerce if current range is zero range

maximumRange
Current maximum range
ConvertTickToDataValue(IComparable) : IComparable

When overridden in a derived class, converts a tick value to a data value. For instance, this may be overridden in the CategoryDateTimeAxis to convert between indices and DateTimes

value
GetDefaultNonZeroRange() : IRange

Returns an default non zero IRange, called internally by Ultrachart to reset the VisibleRange of an axis to an undefined state

GetDeltaCalculator() : IDeltaCalculator

Returns an instance of an IDeltaCalculator which is used to compute the data-values of MajorDelta, MinorDelta. Overridden by derived types to allow calculations specific to that axis type.

Возвращает: An IDeltaCalculator instance

GetSupportedTypes() : List<Type>

Returns a list of types which current axis is designed to work with

GetUndefinedRange() : IRange

Returns an undefined IRange, called internally by Ultrachart to reset the VisibleRange of an axis to an undefined state

IsOfValidType(IRange) : bool

Checks whether is not Null and is of valid type for this axis

range
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

Возвращает: The IRange instance