ChartAnnotation

StockSharp.Xaml.Charting

注釈。

継承元: ChartElement<ChartAnnotation>

実装: IUltrachartPrimitive, IChartElementEx, IChartElement, IChartPart<IChartElement>, INotifyPropertyChanging, INotifyPropertyChanged, IAsyncPersistable, IChartAnnotationElement

コンストラクター

ChartAnnotation
public ChartAnnotation()
chartAnnotation = ChartAnnotation()

ChartAnnotation の新規インスタンスを初期化します。

プロパティ

Type
public ChartAnnotationTypes Type { get; set; }
value = chartAnnotation.Type
chartAnnotation.Type = value

注釈タイプ。

メソッド

CopyTo
internal override ChartAnnotation CopyTo(ChartAnnotation elem)
result = chartAnnotation.CopyTo(elem)

要素のコピーを埋める。

elem
コピー

戻り値: コピー

LoadAsync
public override Task LoadAsync(SettingsStorage storage, CancellationToken cancellationToken)
result = chartAnnotation.LoadAsync(storage, cancellationToken)

Asynchronously loads the state of the object from the specified SettingsStorage.

storage
The SettingsStorage instance from which to load the data.
cancellationToken
A token to monitor for cancellation requests.

戻り値: A task that represents the asynchronous load operation.

OnDraw
protected override bool OnDraw(ChartDrawData data)
result = chartAnnotation.OnDraw(data)

根本要素を描画します。

data
描画データをチャート化します。

戻り値: データを正常に描画した場合は、それ以外の場合は、 を返します。

SaveAsync
public override Task SaveAsync(SettingsStorage storage, CancellationToken cancellationToken)
result = chartAnnotation.SaveAsync(storage, cancellationToken)

Asynchronously saves the state of the object to the specified SettingsStorage.

storage
The SettingsStorage instance to which to save the data.
cancellationToken
A token to monitor for cancellation requests.

戻り値: A task that represents the asynchronous save operation.