DateTimeAxis

StockSharp.Xaml.Charting.Visuals.Axes

リニア、バリューDateTime軸、DateTimeをX軸にレンダリングできるUltrachartSurfaceS2@ティックスをUltrachartSurface@に提供します。

継承元: TimeSpanAxisBase

コンストラクター

DateTimeAxis
public DateTimeAxis()
dateTimeAxis = DateTimeAxis()

DateTimeAxisクラスの新しいインスタンスを初期化します。

プロパティ

SubDayTextFormatting
public string SubDayTextFormatting { get; set; }
value = dateTimeAxis.SubDayTextFormatting
dateTimeAxis.SubDayTextFormatting = value

軸の範囲がサブデイの場合、軸のTick Labelsに使用されるテキストフォーマット文字列を取得またはセットする

メソッド

AssertDataType
public override void AssertDataType(Type dataType)
dateTimeAxis.AssertDataType(dataType)

渡された型を現在の軸実装でAssertserts がサポートされます。

dataType
CalculateYRange
public override IRange CalculateYRange(RenderPassInfo renderPassInfo)
result = dateTimeAxis.CalculateYRange(renderPassInfo)

軸のズーム対フィットYランゲを計算し、ビューポートにあるデータに会計し、GrowBy余白を適用します

renderPassInfo
現行のレンダーパスのデータを含む Struct

戻り値: The VisibleRange of the axis

CoerceZeroRange
protected override IRange CoerceZeroRange(IRange maximumRange)
result = dateTimeAxis.CoerceZeroRange(maximumRange)

現在の範囲がゼロ範囲である場合のCoerce

maximumRange
電流最大範囲
ConvertTickToDataValue
protected override IComparable ConvertTickToDataValue(IComparable value)
result = dateTimeAxis.ConvertTickToDataValue(value)

派生したクラスにオーバーライドすると、ティック値をデータ値に変換します。例えば、この値は CategoryDateTimeAxisでオーバーライドされ、インデックスとDateTimes@ との間の変換が行われます。

value
GetDefaultNonZeroRange
public override IRange GetDefaultNonZeroRange()
result = dateTimeAxis.GetDefaultNonZeroRange()

デフォルト非ゼロのIRangeを返します。 Ultrachartが内部で呼び出され、軸のVisibleRangeを未定義状態にリセットします。

GetDeltaCalculator
protected override IDeltaCalculator GetDeltaCalculator()
result = dateTimeAxis.GetDeltaCalculator()

MajorDelta、MinorDeltaTKEN のデータ値の計算に用いられる IDeltaCalculator のインスタンスを返します。 取得した型をオーバーライドし、その軸タイプに固有の計算を可能にします。

戻り値: IDeltaCalculator@インスタンス

GetMaximumRange
public override IRange GetMaximumRange()
result = dateTimeAxis.GetMaximumRange()

軸の最大範囲を取得する。DataRangeに等しい。GrowByに適用される要因

GetSupportedTypes
protected override List<Type> GetSupportedTypes()
result = dateTimeAxis.GetSupportedTypes()

現行の軸線が動作するように設計されているタイプのリストを返します。

GetUndefinedRange
public override IRange GetUndefinedRange()
result = dateTimeAxis.GetUndefinedRange()

未定義のIRangeを返します。 Ultrachartが内部で呼び出され、未定義の状態に軸のVisibleRangeをリセットします。

IsOfValidType
public override bool IsOfValidType(IRange range)
result = dateTimeAxis.IsOfValidType(range)

数値ではないかチェックし、この軸の有効なタイプであるかどうかをチェックする

range
ToVisibleRange
protected override IRange ToVisibleRange(IComparable min, IComparable max)
result = dateTimeAxis.ToVisibleRange(min, max)

派生したクラスにオーバーライドすると、この軸の正しいタイプのIRangeに最小最大IComparable値を変換します

min
最小値
max
最大の値

戻り値: IRangeインスタンス

フィールド

SubDayTextFormattingProperty
public static readonly DependencyProperty SubDayTextFormattingProperty
value = DateTimeAxis.SubDayTextFormattingProperty

電子メール:SubDayTextFormattingDependencyProperty@