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

Inherits: BaseRenderableSeries

Constructors

FastCandlestickRenderableSeries
public FastCandlestickRenderableSeries()
fastCandlestickRenderableSeries = FastCandlestickRenderableSeries()

Initializes a new instance of the FastCandlestickRenderableSeries class.

Properties

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

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
public Brush DownBodyBrush { get; set; }
value = fastCandlestickRenderableSeries.DownBodyBrush
fastCandlestickRenderableSeries.DownBodyBrush = value

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

DownBodyColor
public Color DownBodyColor { get; set; }
value = fastCandlestickRenderableSeries.DownBodyColor
fastCandlestickRenderableSeries.DownBodyColor = value

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

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

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

UpBodyBrush
public Brush UpBodyBrush { get; set; }
value = fastCandlestickRenderableSeries.UpBodyBrush
fastCandlestickRenderableSeries.UpBodyBrush = value

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

UpBodyColor
public Color UpBodyColor { get; set; }
value = fastCandlestickRenderableSeries.UpBodyColor
fastCandlestickRenderableSeries.UpBodyColor = value

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

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

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

Methods

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

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

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

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
protected override void OnDataSeriesDependencyPropertyChanged(IDataSeries oldDataSeries, IDataSeries newDataSeries)
fastCandlestickRenderableSeries.OnDataSeriesDependencyPropertyChanged(oldDataSeries, newDataSeries)

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

oldDataSeries
The old IDataSeries
newDataSeries
The new IDataSeries
OnResamplingModeChanged
protected override void OnResamplingModeChanged()
fastCandlestickRenderableSeries.OnResamplingModeChanged()

Called when resampling mode changes

Fields

DataPointWidthProperty
public static readonly DependencyProperty DataPointWidthProperty
value = FastCandlestickRenderableSeries.DataPointWidthProperty

Defines the DataPointWidth DependencyProperty

DownBodyBrushProperty
public static readonly DependencyProperty DownBodyBrushProperty
value = FastCandlestickRenderableSeries.DownBodyBrushProperty

Defines the DownBodyBrush DependencyProperty

DownBodyColorProperty
public static readonly DependencyProperty DownBodyColorProperty
value = FastCandlestickRenderableSeries.DownBodyColorProperty

Defines the DownBodyColor DependencyProperty

DownWickColorProperty
public static readonly DependencyProperty DownWickColorProperty
value = FastCandlestickRenderableSeries.DownWickColorProperty

Defines the DownWickColor DependencyProperty

UpBodyBrushProperty
public static readonly DependencyProperty UpBodyBrushProperty
value = FastCandlestickRenderableSeries.UpBodyBrushProperty

Defines the UpBodyBrush DependencyProperty

UpBodyColorProperty
public static readonly DependencyProperty UpBodyColorProperty
value = FastCandlestickRenderableSeries.UpBodyColorProperty

Defines the UpBodyColor DependencyProperty

UpWickColorProperty
public static readonly DependencyProperty UpWickColorProperty
value = FastCandlestickRenderableSeries.UpWickColorProperty

Defines the UpWickColor DependencyProperty