ClassLabelElementDrawPart
Class
Definition
Namespace:Telerik.WinControls.UI
Assembly:Telerik.WinControls.ChartView.dll
Syntax:
cs-api-definition
public class LabelElementDrawPart : DrawPart<ChartSeries>, IDrawPart
Inheritance: objectDrawPart<ChartSeries>LabelElementDrawPart
Derived Classes:
Implements:
Inherited Members
Constructors
LabelElementDrawPart(ChartSeries, IChartRenderer)
Initializes a new instance of the LabelElementDrawPart class.
Declaration
cs-api-definition
public LabelElementDrawPart(ChartSeries owner, IChartRenderer renderer)
Parameters
owner
The owner.
renderer
The renderer.
Methods
AdjustLayoutSlot(RadRect, DataPointElement)
Adjusts the layout slot.
Declaration
cs-api-definition
protected virtual RadRect AdjustLayoutSlot(RadRect rect, DataPointElement point)
Parameters
rect
The rect.
point
The point.
Returns
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
The graphics.
label
The label.
point
The point.
isSmartLabel
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
The label.
point
The point.
isSmartLabel
The is smart label.
Returns
GetLineStart(LabelElement, DataPointElement, bool)
Gets the line start.
Declaration
cs-api-definition
protected virtual PointF GetLineStart(LabelElement label, DataPointElement point, bool isSmartLabel)
Parameters
label
The label.
point
The point.
isSmartLabel
The is smart label.
Returns