CustomRenderableSeries
StockSharp.Xaml.Charting.Visuals.RenderableSeries
Defines a Custom Renderable Series - override Draw() to define what is drawn to the screen at render time
Inherits: BaseRenderableSeries
Methods
Draw
protected virtual void Draw(IRenderContext2D renderContext, IRenderPassData renderPassData)
customRenderableSeries.Draw(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
InternalDraw
protected sealed override void InternalDraw(IRenderContext2D renderContext, IRenderPassData renderPassData)
customRenderableSeries.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