ChartBandElement
Das Diagrammelement, das ein Band darstellt.
Erbt von: ChartElement<ChartBandElement>
Implementiert: IUltrachartPrimitive, IChartElementEx, IChartElement, IChartPart<IChartElement>, INotifyPropertyChanging, INotifyPropertyChanged, IAsyncPersistable, IChartBandElement
Konstruktoren
public ChartBandElement()
chartBandElement = ChartBandElement()
Erstellen Sie Instanz.
Eigenschaften
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.
public DrawStyles Style { get; set; }
value = chartBandElement.Style
chartBandElement.Style = value
Der Zeichenstil der Band. Standardmäßig ist Band. Kann auch BandOneValue sein.
Methoden
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.
public override Task LoadAsync(SettingsStorage storage, CancellationToken cancellationToken)
result = chartBandElement.LoadAsync(storage, cancellationToken)
Load settings.
- storage
- Settings storage.
- cancellationToken
- CancellationToken
Rückgabe: Task
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.
public override Task SaveAsync(SettingsStorage storage, CancellationToken cancellationToken)
result = chartBandElement.SaveAsync(storage, cancellationToken)
Save settings.
- storage
- Settings storage.
- cancellationToken
- CancellationToken
Rückgabe: Task