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

Coordinates funnel-segment rendering, label drawing, and hit testing for a FunnelArea.

Definition

Constructors

Creates a renderer for the specified funnel area.

C#
public FunnelRenderer(FunnelArea area)
Parameters:areaFunnelArea

The area whose funnel series are rendered.

Properties

Gets the funnel area rendered by this instance.

C#
public FunnelArea Area { get; }

Gets the draw parts used to render funnel segments and labels.

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

Methods

May request another layout for visible, unarranged series outside design mode before drawing the available segments and labels.

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

The drawing context supplied by the chart renderer.

Overrides: ChartRenderer.Draw(object)

Returns the funnel data point whose segment contains the specified location.

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 segment contains the location.

Overrides: ChartRenderer.HitTest(int, int)

Creates segment and label draw parts for the series currently in the funnel area.

C#
protected override void Initialize()

Overrides: ChartRenderer.Initialize()