FastCandlestickRenderableSeries
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
public FastCandlestickRenderableSeries()
fastCandlestickRenderableSeries = FastCandlestickRenderableSeries()
Initializes a new instance of the FastCandlestickRenderableSeries class.
Properties
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
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
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)
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)
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
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)
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
protected override bool GetIsValidForDrawing()
result = fastCandlestickRenderableSeries.GetIsValidForDrawing()
Gets a value indicating whether this BaseRenderableSeries is valid for drawing.
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
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
protected override void OnResamplingModeChanged()
fastCandlestickRenderableSeries.OnResamplingModeChanged()
Called when resampling mode changes
Fields
public static readonly DependencyProperty DataPointWidthProperty
value = FastCandlestickRenderableSeries.DataPointWidthProperty
Defines the DataPointWidth DependencyProperty
public static readonly DependencyProperty DownBodyBrushProperty
value = FastCandlestickRenderableSeries.DownBodyBrushProperty
Defines the DownBodyBrush DependencyProperty
public static readonly DependencyProperty DownBodyColorProperty
value = FastCandlestickRenderableSeries.DownBodyColorProperty
Defines the DownBodyColor DependencyProperty
public static readonly DependencyProperty DownWickColorProperty
value = FastCandlestickRenderableSeries.DownWickColorProperty
Defines the DownWickColor DependencyProperty
public static readonly DependencyProperty UpBodyBrushProperty
value = FastCandlestickRenderableSeries.UpBodyBrushProperty
Defines the UpBodyBrush DependencyProperty
public static readonly DependencyProperty UpBodyColorProperty
value = FastCandlestickRenderableSeries.UpBodyColorProperty
Defines the UpBodyColor DependencyProperty
public static readonly DependencyProperty UpWickColorProperty
value = FastCandlestickRenderableSeries.UpWickColorProperty
Defines the UpWickColor DependencyProperty