ChartIndicatorElement
O elemento gráfico que representa o indicador.
Herda de: ChartElement<ChartIndicatorElement>
Implementa: IChartIndicatorElement, IChartElement, IChartPart<IChartElement>, INotifyPropertyChanging, INotifyPropertyChanged, IAsyncPersistable
Construtores
public ChartIndicatorElement()
chartIndicatorElement = ChartIndicatorElement()
Inicializa uma nova instância do ChartIndicatorElement.
Propriedades
public Color AdditionalColor { get; set; }
value = chartIndicatorElement.AdditionalColor
chartIndicatorElement.AdditionalColor = value
Propriedade de compatibilidade para AdditionalColor para DefaultPainter.
public bool AntiAliasing { get; set; }
value = chartIndicatorElement.AntiAliasing
chartIndicatorElement.AntiAliasing = value
Velas que renderizam suavização (ativadas por padrão).
public bool AutoAssignYAxis { get; set; }
value = chartIndicatorElement.AutoAssignYAxis
chartIndicatorElement.AutoAssignYAxis = value
Auto atribuir eixo Y quando o elemento está sendo adicionado ao gráfico.
public Color Color { get; set; }
value = chartIndicatorElement.Color
chartIndicatorElement.Color = value
Propriedade de compatibilidade para Color para DefaultPainter.
public DrawStyles DrawStyle { get; set; }
value = chartIndicatorElement.DrawStyle
chartIndicatorElement.DrawStyle = value
Estilo de renderização de velas.
public ControlTemplate DrawTemplate { get; set; }
value = chartIndicatorElement.DrawTemplate
chartIndicatorElement.DrawTemplate = value
Propriedade de compatibilidade para DrawTemplate para DefaultPainter.
public IChartIndicatorPainter IndicatorPainter { get; set; }
value = chartIndicatorElement.IndicatorPainter
chartIndicatorElement.IndicatorPainter = value
O renderizador de indicadores.
protected override int Priority { get; }
value = chartIndicatorElement.Priority
Prioridade das notícias.
public bool ShowAxisMarker { get; set; }
value = chartIndicatorElement.ShowAxisMarker
chartIndicatorElement.ShowAxisMarker = value
Mostrar o marcador do eixo Y.
public int StrokeThickness { get; set; }
value = chartIndicatorElement.StrokeThickness
chartIndicatorElement.StrokeThickness = value
Largura da linha (barra ou borda), com qual vela será desenhada no gráfico.
Métodos
protected override ChartIndicatorElement CreateClone()
result = chartIndicatorElement.CreateClone()
Criar objeto clone (não iniciado).
Retorna: Estratégia
protected override string GetGeneratedTitle()
result = chartIndicatorElement.GetGeneratedTitle()
Obter o título gerado.
Retorna: Gerar automaticamente o título do elemento gráfico.
public override Task LoadAsync(SettingsStorage storage, CancellationToken cancellationToken)
result = chartIndicatorElement.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 = chartIndicatorElement.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 = chartIndicatorElement.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.
public override string ToString()
result = chartIndicatorElement.ToString()
Converter para uma representação de linha.
Retorna: Desempenho de cordas.