FastMountainRenderableSeries

StockSharp.Xaml.Charting.Visuals.RenderableSeries

Provides Fast Mountain (Area) series rendering, however makes the assumption that all X-Data is evenly spaced. Gaps in the data are collapsed

Inherits: BaseMountainRenderableSeries

Constructors

FastMountainRenderableSeries
public FastMountainRenderableSeries()
fastMountainRenderableSeries = FastMountainRenderableSeries()

Initializes a new instance of the FastMountainRenderableSeries class.

Methods

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

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

InternalDraw
protected override void InternalDraw(IRenderContext2D renderContext, IRenderPassData renderPassData)
fastMountainRenderableSeries.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
IsHitTest
protected override bool IsHitTest(Point rawPoint, HitTestInfo nearestHitResult, double hitTestRadius, Point previousDataPoint, Point nextDataPoint)
result = fastMountainRenderableSeries.IsHitTest(rawPoint, nearestHitResult, hitTestRadius, previousDataPoint, nextDataPoint)

When overridden in derived classes, performs hit test on series using interpolated values

rawPoint
nearestHitResult
hitTestRadius
previousDataPoint
nextDataPoint