FastCandlestickRenderableSeries

StockSharp.Xaml.Charting.Visuals.RenderableSeries

Provides Fast Candlestick series rendering, however makes the assumption that all X-Data is evenly spaced. Gaps in the data are collapsed

Erbt von: BaseRenderableSeries

Konstruktoren

FastCandlestickRenderableSeries()

Initializes a new instance of the FastCandlestickRenderableSeries class.

Eigenschaften

DataPointWidth : double

Gets or sets the DataPointWidth, a value between 0.0 and 1.0 which defines the fraction of available space each column should occupy

DownBodyBrush : Brush

Gets or sets the Brush used for candle body on up-candles (close > open). If null, UpBodyColor property is used

DownBodyColor : Color

Gets or sets the Color used for candle body on down-candles (close < open)

DownWickColor : Color

Gets or sets the Color used for wicks and outlines on down-candles (close < open)

UpBodyBrush : Brush

Gets or sets the Brush used for candle body on up-candles (close > open). If null, UpBodyColor property is used

UpBodyColor : Color

Gets or sets the Color used for candle body on up-candles (close > open)

UpWickColor : Color

Gets or sets the Color used for wicks and outlines on up-candles (close > open)

Methoden

GetIsValidForDrawing() : bool

Gets a value indicating whether this BaseRenderableSeries is valid for drawing.

InternalDraw(IRenderContext2D, IRenderPassData)

Draws the series using the IRenderContext2D and the IRenderPassData passed in

renderContext
The render context. This is a graphics object which has methods to draw lines, quads and polygons to the screen
renderPassData
The render pass data. Contains a resampled IPointSeries, the IndexRange of points on the screen and the current YAxis and XAxis ICoordinateCalculator to convert data-points to screen points
OnDataSeriesDependencyPropertyChanged(IDataSeries, IDataSeries)

Called when the DataSeries property changes - i.e. a new IDataSeries has been set

oldDataSeries
The old IDataSeries
newDataSeries
The new IDataSeries
OnResamplingModeChanged()

Called when resampling mode changes

Felder

DataPointWidthProperty : DependencyProperty

Defines the DataPointWidth DependencyProperty

DownBodyBrushProperty : DependencyProperty

Defines the DownBodyBrush DependencyProperty

DownBodyColorProperty : DependencyProperty

Defines the DownBodyColor DependencyProperty

DownWickColorProperty : DependencyProperty

Defines the DownWickColor DependencyProperty

UpBodyBrushProperty : DependencyProperty

Defines the UpBodyBrush DependencyProperty

UpBodyColorProperty : DependencyProperty

Defines the UpBodyColor DependencyProperty

UpWickColorProperty : DependencyProperty

Defines the UpWickColor DependencyProperty