TimeSpanLabelProvider

StockSharp.Xaml.Charting.Visuals.Axes

DateTimeLabelFormatterはTextFormattingとCursorTextFormattingのプロパティを使用して、軸とカーソルラベルのテキストをフォーマットするパススルーです。

継承元: LabelProviderBase

メソッド

FormatCursorLabel
public override string FormatCursorLabel(IComparable dataValue, bool hitTest)
result = timeSpanLabelProvider.FormatCursorLabel(dataValue, hitTest)

カーソルのラベルをフォーマットします。指定されたデータ値から渡された値から

dataValue
データ値がフォーマットされる
hitTest
カーソルの衝突テスト。

戻り値: 整形されたカーソルラベル文字列

FormatLabel
public override string FormatLabel(IComparable dataValue)
result = timeSpanLabelProvider.FormatLabel(dataValue)

指定したデータ値から渡された軸のラベルを書式化

dataValue
データ値がフォーマットされる

戻り値: フォーマットされたラベルの文字列