New to Telerik UI for WinFormsStart a free 30-day trial

Definition

Constructors

Initializes a new instance of the PieLabelElementDrawPart class.

C#
public PieLabelElementDrawPart(PieSeries element, IChartRenderer renderer)
Parameters:elementPieSeries

The element.

rendererIChartRenderer

The renderer.

Methods

Draws the label element.

C#
public override void Draw()

Overrides: LabelElementDrawPart.Draw()

Draws the connecting line.

C#
protected override void DrawConnectingLine(RadGdiGraphics graphics, LabelElement label, DataPointElement point, bool isSmartLabel)
Parameters:graphicsRadGdiGraphics

The graphics.

labelLabelElement

The label.

pointDataPointElement

The point.

isSmartLabelbool

The is smart label.

Overrides: LabelElementDrawPart.DrawConnectingLine(RadGdiGraphics, LabelElement, DataPointElement, bool)

Draws the radial labels.

C#
protected virtual void DrawRadialLabels()

Gets the line start.

C#
protected override PointF GetLineStart(LabelElement label, DataPointElement point, bool isSmartLabel)
Parameters:labelLabelElement

The label.

pointDataPointElement

The point.

isSmartLabelbool

The is smart label.

Returns:

PointF

Overrides: LabelElementDrawPart.GetLineStart(LabelElement, DataPointElement, bool)