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

Paints range-bar points as individual bars, including their fill, border, background shape, and image.

Definition

Constructors

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

C#
public RangeBarSeriesDrawPart(RangeBarSeries series, CartesianRenderer renderer)
Parameters:seriesRangeBarSeries

The range-bar series to draw.

rendererCartesianRenderer

The Cartesian renderer that supplies the drawing surface.

Methods

Paints each non-empty range-bar point using its element's HeightAspectRatio.

C#
public override void DrawSeriesParts()

Overrides: ChartSeriesDrawPart.DrawSeriesParts()

Returns the first range-bar data point whose layout slot contains the specified location.

C#
public override DataPoint HitTest(Point location)
Parameters:locationPoint

The location to test.

Returns:

DataPoint

The hit data point, or the base hit-test result when no bar slot contains the location.

Overrides: DrawPart<ChartSeries>.HitTest(Point)