CandlePatternElement
StockSharp.Xaml.Charting
Element Kerzendiagramm.
Erbt von: ChartElement<CandlePatternElement>
Implementiert: IUltrachartPrimitive, IChartElementEx, IChartElement, IChartPart<IChartElement>, INotifyPropertyChanging, INotifyPropertyChanged, IAsyncPersistable
Eigenschaften
DownColor
public Color DownColor { get; set; }
value = candlePatternElement.DownColor
candlePatternElement.DownColor = value
Down Kerze Farbe.
UpColor
public Color UpColor { get; set; }
value = candlePatternElement.UpColor
candlePatternElement.UpColor = value
bis Kerzenfarbe.
Methoden
LoadAsync
public override Task LoadAsync(SettingsStorage storage, CancellationToken cancellationToken)
result = candlePatternElement.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.
Rückgabe: A task that represents the asynchronous load operation.
OnDraw
protected override bool OnDraw(ChartDrawData data)
result = candlePatternElement.OnDraw(data)
Zeichnen Sie auf Wurzelelement.
- data
- Kartenzeichnungsdaten.
Rückgabe: wenn die Daten erfolgreich gezogen wurden, andernfalls zurückgegeben werden.
SaveAsync
public override Task SaveAsync(SettingsStorage storage, CancellationToken cancellationToken)
result = candlePatternElement.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.
Rückgabe: A task that represents the asynchronous save operation.