ChartBandElement
El elemento gráfico que representa una banda.
Hereda de: ChartElement<ChartBandElement>
Implementa: IUltrachartPrimitive, IChartElementEx, IChartElement, IChartPart<IChartElement>, INotifyPropertyChanging, INotifyPropertyChanged, IAsyncPersistable, IChartBandElement
Constructores
Propiedades
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
El estilo de dibujo de banda. El predeterminado es Band. También puede ser BandOneValue.
Métodos
public override bool CheckAxesCompatible(ChartAxisType? xType, ChartAxisType? yType)
result = chartBandElement.CheckAxesCompatible(xType, yType)
Compruebe si el elemento puede ser dibujado utilizando tipos de eje suministrado.
- xType
- Tipo X de eje.
- yType
- Tipo de eje Y.
Devuelve: si se admiten tipos suministrados.
public override Task LoadAsync(SettingsStorage storage, CancellationToken cancellationToken)
result = chartBandElement.LoadAsync(storage, cancellationToken)
Load settings.
- storage
- Settings storage.
- cancellationToken
- CancellationToken
Devuelve: Task
protected override bool OnDraw(ChartDrawData data)
result = chartBandElement.OnDraw(data)
Dibuja sobre el elemento raíz.
- data
- Datos de dibujo de gráficos.
Devuelve: si los datos se dibujaron con éxito, de lo contrario, devuelve .
public override Task SaveAsync(SettingsStorage storage, CancellationToken cancellationToken)
result = chartBandElement.SaveAsync(storage, cancellationToken)
Save settings.
- storage
- Settings storage.
- cancellationToken
- CancellationToken
Devuelve: Task