New to Telerik UI for WinForms? Start a free 30-day trial

Renders range series as filled bands between high and low paths, splitting at invisible or empty points.

Definition

Constructors

Creates a draw part for the specified range series and Cartesian renderer.

C#
public RangeSeriesDrawPart(RangeSeries series, CartesianRenderer renderer)
Parameters:seriesRangeSeries

The range series whose band is drawn.

rendererCartesianRenderer

The Cartesian renderer that supplies the drawing surface and plot orientation.

Methods

Builds and paints each high/low band, clipping the series image to the band path when present.

C#
protected virtual void DrawArea()

Provides an extension hook for drawing range-point markers; the base implementation draws none.

C#
protected virtual void DrawPoints()

Draws the range bands and their optional series image.

C#
public override void DrawSeriesParts()

Overrides: ChartSeriesDrawPart.DrawSeriesParts()

Joins high and low point sequences into the outline path for a range band.

C#
protected virtual GraphicsPath GetLinePaths(PointF[] highPoints, PointF[] lowPoints)
Parameters:highPointsPointF[]

The ordered positions along the high boundary.

lowPointsPointF[]

The ordered positions along the low boundary.

Returns:

GraphicsPath

The range outline path, or null when there are no high-boundary points.

Collects sorted high and low positions as alternating arrays, starting a new pair after hidden or empty points.

C#
protected virtual List<PointF[]> GetPointsPositionsArrays()
Returns:

List<PointF[]>

Alternating high-point and low-point arrays for each contiguous visible range.