DrawOhlcBatch Method
Draws OHLC bars from the SciChart.Charting2D.Interop.XohlcCandleVertex array, as a single batched draw call.
Syntax
void DrawOhlcBatch( XohlcCandleVertex[] points, int count, float width, IPen2D penHigh, IPen2D penLow, SCRTVertexTransform vertexTransform )
Parameters
- points
- The SciChart.Charting2D.Interop.XohlcCandleVertex array containing data to draw.
- count
- The number of points to draw.
- width
- The width of each bar in pixels
- penHigh
- The pen to paint wicks if the bar is an UP bar
- penLow
- The pen to paint wicks if the bar is a DOWN bar
- vertexTransform
- The optional per-vertex transform to apply to each point during rendering. Null means identity matrix.
Requirements
Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2
See Also