FastOhlcRenderableSeries

StockSharp.Xaml.Charting.Visuals.RenderableSeries

Fornece renderização rápida da série Candlestick, no entanto, faz a suposição de que todos os X-Data são espaçados uniformemente.

Herda de: BaseRenderableSeries

Construtores

FastOhlcRenderableSeries
public FastOhlcRenderableSeries()
fastOhlcRenderableSeries = FastOhlcRenderableSeries()

Inicializa uma nova instância da classe FastCandlestickRenderableSeries.

Propriedades

DataPointWidth
public double DataPointWidth { get; set; }
value = fastOhlcRenderableSeries.DataPointWidth
fastOhlcRenderableSeries.DataPointWidth = value

Obtém ou define o DataPointWidth, um valor entre 0.0 e 1.0 que define a fração de espaço disponível que cada coluna deve ocupar

DownWickColor
public Color DownWickColor { get; set; }
value = fastOhlcRenderableSeries.DownWickColor
fastOhlcRenderableSeries.DownWickColor = value

Obtém ou define a cor usada para pavios e contornos em velas de baixo (fechar < abrir)

UpWickColor
public Color UpWickColor { get; set; }
value = fastOhlcRenderableSeries.UpWickColor
fastOhlcRenderableSeries.UpWickColor = value

Obtém ou define a cor usada para pavios e contornos em velas de elevação (fechar > abrir)

Métodos

GetIsValidForDrawing
protected override bool GetIsValidForDrawing()
result = fastOhlcRenderableSeries.GetIsValidForDrawing()

Obtém um valor indicando se este BaseRenderableSeries é válido para desenho.

InternalDraw
protected override void InternalDraw(IRenderContext2D renderContext, IRenderPassData renderPassData)
fastOhlcRenderableSeries.InternalDraw(renderContext, renderPassData)

Desenha a série usando o IRenderContext2D e o IRenderPassData passado

renderContext
O contexto de renderização. Este é um objeto gráfico que tem métodos para desenhar linhas, quads e polígonos para o ecrã
renderPassData
Os dados de passe de renderização. Contém uma nova amostra IPointSeries, a IndexRange de pontos na tela e a atual YAxis e XAxis ICoordinateCalculator@ para converter pontos de dados para pontos de tela
OnDataSeriesDependencyPropertyChanged
protected override void OnDataSeriesDependencyPropertyChanged(IDataSeries oldDataSeries, IDataSeries newDataSeries)
fastOhlcRenderableSeries.OnDataSeriesDependencyPropertyChanged(oldDataSeries, newDataSeries)

Chamado quando a DataSeries mudar - i.e. um novo IDataSeries @ foi definido

oldDataSeries
O velho IDataSeries
newDataSeries
O novo IDataSeries
OnResamplingModeChanged
protected override void OnResamplingModeChanged()
fastOhlcRenderableSeries.OnResamplingModeChanged()

Chamado quando o modo de reamostragem muda

Campos

DataPointWidthProperty
public static readonly DependencyProperty DataPointWidthProperty
value = FastOhlcRenderableSeries.DataPointWidthProperty

Define DataPointWidth DependencyProperty @

DownWickColorProperty
public static readonly DependencyProperty DownWickColorProperty
value = FastOhlcRenderableSeries.DownWickColorProperty

Define DownWickColor DependencyProperty @

UpWickColorProperty
public static readonly DependencyProperty UpWickColorProperty
value = FastOhlcRenderableSeries.UpWickColorProperty

Define UpWickColor DependencyProperty @