FastOhlcRenderableSeries
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
FastOhlcRenderableSeries()
Initializes a new instance of the FastCandlestickRenderableSeries class.
Properties
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
DownWickColor : Color
Gets or sets the Color used for wicks and outlines on down-candles (close < open)
UpWickColor : Color
Gets or sets the Color used for wicks and outlines on up-candles (close > open)
Methods
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 the resampling mode changes
Fields
DataPointWidthProperty : DependencyProperty
Defines the DataPointWidth DependencyProperty
DownWickColorProperty : DependencyProperty
Defines the DownWickColor DependencyProperty
UpWickColorProperty : DependencyProperty
Defines the UpWickColor DependencyProperty