DateTimeAxis
Provides a Linear, Value DateTime Axis, capable of rendering DateTime ticks on the X-Axis of a UltrachartSurface.
継承元: TimeSpanAxisBase
コンストラクター
DateTimeAxis()
Initializes a new instance of the DateTimeAxis class.
プロパティ
SubDayTextFormatting : string
Gets or sets the Text Formatting String used for Axis Tick Labels when the range of the axis is sub-day
メソッド
AssertDataType(Type)
Asserts the type passed in is supported by the current axis implementation
- dataType
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
戻り値: The VisibleRange of the axis
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
GetMaximumRange() : IRange
Gets the Maximum Range of the axis, which is equal to the DataRange including any GrowBy factor applied
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
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
フィールド
SubDayTextFormattingProperty : DependencyProperty
Defines the SubDayTextFormatting DependencyProperty