ChartOrderElement
O elemento gráfico que representa ordens.
Herda de: ChartTransactionElement<ChartOrderElement>
Implementa: IChartOrderElement, IChartTransactionElement, IChartElement, IChartPart<IChartElement>, INotifyPropertyChanging, INotifyPropertyChanged, IAsyncPersistable
Construtores
public ChartOrderElement()
chartOrderElement = ChartOrderElement()
Inicializar ChartOrderElement.
Propriedades
public Color ErrorColor { get; set; }
value = chartOrderElement.ErrorColor
chartOrderElement.ErrorColor = value
Preencha a cor dos erros de transação.
public Color ErrorStrokeColor { get; set; }
value = chartOrderElement.ErrorStrokeColor
chartOrderElement.ErrorStrokeColor = value
Preencha a cor dos erros de transação.
public ChartOrderDisplayFilter Filter { get; set; }
value = chartOrderElement.Filter
chartOrderElement.Filter = value
O filtro de exibição de pedidos.
Métodos
internal override ChartOrderElement CopyTo(ChartOrderElement elem)
result = chartOrderElement.CopyTo(elem)
public override Task LoadAsync(SettingsStorage storage, CancellationToken cancellationToken)
result = chartOrderElement.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.
Retorna: A task that represents the asynchronous load operation.
protected override bool OnDraw(ChartDrawData data)
result = chartOrderElement.OnDraw(data)
Desenhar o elemento raiz.
- data
- Dados de desenho do gráfico.
Retorna: se os dados foram desenhados com sucesso, caso contrário, retorna .
public override Task SaveAsync(SettingsStorage storage, CancellationToken cancellationToken)
result = chartOrderElement.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.
Retorna: A task that represents the asynchronous save operation.