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

Coordinates drawing and hit testing for polar and radar chart areas.

Definition

Constructors

Creates a renderer for the specified polar area.

C#
public PolarRenderer(PolarArea area)
Parameters:areaPolarArea

The polar area whose grid, series, annotations, and axes are rendered.

Properties

Gets the polar area rendered by this instance.

C#
public PolarArea Area { get; }

Gets the draw parts used to render the polar area.

C#
protected List<IDrawPart> DrawParts { get; }

Gets the polar area rendered by this instance.

C#
public PolarArea View { get; }

Methods

May request layout for visible, unarranged series before drawing the area's draw parts.

C#
public override void Draw(object context)
Parameters:contextobject

The drawing context supplied by the chart renderer.

Overrides: ChartRenderer.Draw(object)

Calculates the axis-aligned rectangle enclosing the specified points.

C#
public virtual RectangleF GetPaintRectangle(PointF[] points)
Parameters:pointsPointF[]

The points whose bounds are calculated.

Returns:

RectangleF

The smallest axis-aligned rectangle that contains the points.

Returns the data point hit by the specified location, checking draw parts from front to back.

C#
public override DataPoint HitTest(int x, int y)
Parameters:xint

The horizontal coordinate to test.

yint

The vertical coordinate to test.

Returns:

DataPoint

The hit data point, or null when no draw part contains the location.

Overrides: ChartRenderer.HitTest(int, int)

Rebuilds the draw-part sequence for the grid, annotations, series, labels, and axes.

C#
protected override void Initialize()

Overrides: ChartRenderer.Initialize()