Class
LabelElementDrawPart

Definition

Constructors

LabelElementDrawPart(ChartSeries, IChartRenderer)

Initializes a new instance of the LabelElementDrawPart class.

Declaration

cs-api-definition
public LabelElementDrawPart(ChartSeries owner, IChartRenderer renderer)

Parameters

owner

ChartSeries

The owner.

renderer

IChartRenderer

The renderer.

Methods

AdjustLayoutSlot(RadRect, DataPointElement)

Adjusts the layout slot.

Declaration

cs-api-definition
protected virtual RadRect AdjustLayoutSlot(RadRect rect, DataPointElement point)

Parameters

rect

RadRect

The rect.

point

DataPointElement

The point.

Returns

RadRect

Draw()

Draws the label element.

Declaration

cs-api-definition
public override void Draw()

Overrides DrawPart<ChartSeries>.Draw()

DrawConnectingLine(RadGdiGraphics, LabelElement, DataPointElement, bool)

Draws the connecting line.

Declaration

cs-api-definition
protected virtual 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.

GetLineEnd(LabelElement, DataPointElement, bool)

Gets the line end.

Declaration

cs-api-definition
protected virtual PointF GetLineEnd(LabelElement label, DataPointElement point, bool isSmartLabel)

Parameters

label

LabelElement

The label.

point

DataPointElement

The point.

isSmartLabel

bool

The is smart label.

Returns

PointF

GetLineStart(LabelElement, DataPointElement, bool)

Gets the line start.

Declaration

cs-api-definition
protected virtual 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