Class
PieLabelElementDrawPart

Definition

Constructors

PieLabelElementDrawPart(PieSeries, IChartRenderer)

Initializes a new instance of the PieLabelElementDrawPart class.

Declaration

cs-api-definition
public PieLabelElementDrawPart(PieSeries element, IChartRenderer renderer)

Parameters

element

PieSeries

The element.

renderer

IChartRenderer

The renderer.

Methods

Draw()

Draws the label element.

Declaration

cs-api-definition
public override void Draw()

Overrides LabelElementDrawPart.Draw()

DrawConnectingLine(RadGdiGraphics, LabelElement, DataPointElement, bool)

Draws the connecting line.

Declaration

cs-api-definition
protected override void DrawConnectingLine(RadGdiGraphics graphics, LabelElement label, DataPointElement point, bool isSmartLabel)

Parameters

graphics

RadGdiGraphics

The graphics.

label

LabelElement

The label.

point

DataPointElement

The point.

isSmartLabel

bool

The is smart label.

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

DrawRadialLabels()

Draws the radial labels.

Declaration

cs-api-definition
protected virtual void DrawRadialLabels()

GetLineStart(LabelElement, DataPointElement, bool)

Gets the line start.

Declaration

cs-api-definition
protected override PointF GetLineStart(LabelElement label, DataPointElement point, bool isSmartLabel)

Parameters

label

LabelElement

The label.

point

DataPointElement

The point.

isSmartLabel

bool

The is smart label.

Returns

PointF

Overrides LabelElementDrawPart.GetLineStart(LabelElement, DataPointElement, bool)