ChartIndicatorElement

StockSharp.Xaml.Charting

O elemento gráfico que representa o indicador.

Herda de: ChartElement<ChartIndicatorElement>

Implementa: IChartIndicatorElement, IChartElement, IChartPart<IChartElement>, INotifyPropertyChanging, INotifyPropertyChanged, IAsyncPersistable

Construtores

ChartIndicatorElement
public ChartIndicatorElement()
chartIndicatorElement = ChartIndicatorElement()

Inicializa uma nova instância do ChartIndicatorElement.

Propriedades

AdditionalColor
public Color AdditionalColor { get; set; }
value = chartIndicatorElement.AdditionalColor
chartIndicatorElement.AdditionalColor = value

Propriedade de compatibilidade para AdditionalColor para DefaultPainter.

AntiAliasing
public bool AntiAliasing { get; set; }
value = chartIndicatorElement.AntiAliasing
chartIndicatorElement.AntiAliasing = value

Velas que renderizam suavização (ativadas por padrão).

AutoAssignYAxis
public bool AutoAssignYAxis { get; set; }
value = chartIndicatorElement.AutoAssignYAxis
chartIndicatorElement.AutoAssignYAxis = value

Auto atribuir eixo Y quando o elemento está sendo adicionado ao gráfico.

Color
public Color Color { get; set; }
value = chartIndicatorElement.Color
chartIndicatorElement.Color = value

Propriedade de compatibilidade para Color para DefaultPainter.

DrawStyle
public DrawStyles DrawStyle { get; set; }
value = chartIndicatorElement.DrawStyle
chartIndicatorElement.DrawStyle = value

Estilo de renderização de velas.

DrawTemplate
public ControlTemplate DrawTemplate { get; set; }
value = chartIndicatorElement.DrawTemplate
chartIndicatorElement.DrawTemplate = value

Propriedade de compatibilidade para DrawTemplate para DefaultPainter.

IndicatorPainter
public IChartIndicatorPainter IndicatorPainter { get; set; }
value = chartIndicatorElement.IndicatorPainter
chartIndicatorElement.IndicatorPainter = value

O renderizador de indicadores.

Priority
protected override int Priority { get; }
value = chartIndicatorElement.Priority

Prioridade das notícias.

ShowAxisMarker
public bool ShowAxisMarker { get; set; }
value = chartIndicatorElement.ShowAxisMarker
chartIndicatorElement.ShowAxisMarker = value

Mostrar o marcador do eixo Y.

StrokeThickness
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

CreateClone
protected override ChartIndicatorElement CreateClone()
result = chartIndicatorElement.CreateClone()

Criar objeto clone (não iniciado).

Retorna: Estratégia

GetGeneratedTitle
protected override string GetGeneratedTitle()
result = chartIndicatorElement.GetGeneratedTitle()

Obter o título gerado.

Retorna: Gerar automaticamente o título do elemento gráfico.

LoadAsync
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.

OnDraw
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 .

OnReset
protected override void OnReset()
chartIndicatorElement.OnReset()

Reiniciar estado.

SaveAsync
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.

ToString
public override string ToString()
result = chartIndicatorElement.ToString()

Converter para uma representação de linha.

Retorna: Desempenho de cordas.