RangeSeriesDrawPart
Renders range series as filled bands between high and low paths, splitting at invisible or empty points.
Definition
Namespace:Telerik.WinControls.UI
Assembly:Telerik.WinControls.ChartView.dll
Syntax:
public class RangeSeriesDrawPart : ChartSeriesDrawPart, IDrawPart
Inheritance: objectDrawPart<ChartSeries>ChartSeriesDrawPartRangeSeriesDrawPart
Implements:
Inherited Members
Constructors
Creates a draw part for the specified range series and Cartesian renderer.
public RangeSeriesDrawPart(RangeSeries series, CartesianRenderer renderer)
The range series whose band is drawn.
rendererCartesianRendererThe 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.
protected virtual void DrawArea()
Provides an extension hook for drawing range-point markers; the base implementation draws none.
protected virtual void DrawPoints()
Draws the range bands and their optional series image.
public override void DrawSeriesParts()
Overrides:
Joins high and low point sequences into the outline path for a range band.
protected virtual GraphicsPath GetLinePaths(PointF[] highPoints, PointF[] lowPoints)
The ordered positions along the high boundary.
lowPointsPointF[]The ordered positions along the low boundary.
Returns: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.
protected virtual List<PointF[]> GetPointsPositionsArrays()
List<PointF[]>
Alternating high-point and low-point arrays for each contiguous visible range.