ChartBandElement

StockSharp.Xaml.Charting

Das Diagrammelement, das ein Band darstellt.

Erbt von: ChartElement<ChartBandElement>

Implementiert: IUltrachartPrimitive, IChartElementEx, IChartElement, IChartPart<IChartElement>, INotifyPropertyChanging, INotifyPropertyChanged, IAsyncPersistable, IChartBandElement

Konstruktoren

ChartBandElement
public ChartBandElement()
chartBandElement = ChartBandElement()

Erstellen Sie Instanz.

Eigenschaften

DrawnPoints
internal IReadOnlyList<ChartDrawnPoint> DrawnPoints { get; }
value = chartBandElement.DrawnPoints

The points the element has drawn, in the order of the horizontal axis; none before it has been placed on an area.

Line1
public ChartLineElement Line1 { get; }
value = chartBandElement.Line1

Linie1.

Line2
public ChartLineElement Line2 { get; }
value = chartBandElement.Line2

Linie2.

Style
public DrawStyles Style { get; set; }
value = chartBandElement.Style
chartBandElement.Style = value

Der Zeichenstil der Band. Standardmäßig ist Band. Kann auch BandOneValue sein.

Methoden

CheckAxesCompatible
public override bool CheckAxesCompatible(ChartAxisType? xType, ChartAxisType? yType)
result = chartBandElement.CheckAxesCompatible(xType, yType)

Prüfen Sie, ob das Element mit den mitgelieferten Achsentypen gezeichnet werden kann.

xType
X-Achsentyp.
yType
Y-Achsentyp.

Rückgabe: wenn gelieferte Typen unterstützt werden.

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

Load settings.

storage
Settings storage.
cancellationToken
CancellationToken

Rückgabe: Task

OnDraw
protected override bool OnDraw(ChartDrawData data)
result = chartBandElement.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 = chartBandElement.SaveAsync(storage, cancellationToken)

Save settings.

storage
Settings storage.
cancellationToken
CancellationToken

Rückgabe: Task