Class LabelElementDrawPart
Inherited Members
Namespace: Telerik.WinControls.UI
Assembly: Telerik.WinControls.ChartView.dll
Syntax
public class LabelElementDrawPart : DrawPart<ChartSeries>, IDrawPart
Constructors
LabelElementDrawPart(ChartSeries, IChartRenderer)
Initializes a new instance of the LabelElementDrawPart class.
Declaration
public LabelElementDrawPart(ChartSeries owner, IChartRenderer renderer)
Parameters
ChartSeries
owner
The owner. |
IChartRenderer
renderer
The renderer. |
Methods
AdjustLayoutSlot(RadRect, DataPointElement)
Adjusts the layout slot.
Declaration
protected virtual RadRect AdjustLayoutSlot(RadRect rect, DataPointElement point)
Parameters
RadRect
rect
The rect. |
DataPointElement
point
The point. |
Returns
RadRect
|
Draw()
Draws the label element.
Declaration
public override void Draw()
Overrides
DrawConnectingLine(RadGdiGraphics, LabelElement, DataPointElement, Boolean)
Draws the connecting line.
Declaration
protected virtual void DrawConnectingLine(RadGdiGraphics graphics, LabelElement label, DataPointElement point, bool isSmartLabel)
Parameters
RadGdiGraphics
graphics
The graphics. |
LabelElement
label
The label. |
DataPointElement
point
The point. |
System.Boolean
isSmartLabel
The is smart label. |
GetLineEnd(LabelElement, DataPointElement, Boolean)
Gets the line end.
Declaration
protected virtual PointF GetLineEnd(LabelElement label, DataPointElement point, bool isSmartLabel)
Parameters
LabelElement
label
The label. |
DataPointElement
point
The point. |
System.Boolean
isSmartLabel
The is smart label. |
Returns
System.Drawing.PointF
|
GetLineStart(LabelElement, DataPointElement, Boolean)
Gets the line start.
Declaration
protected virtual PointF GetLineStart(LabelElement label, DataPointElement point, bool isSmartLabel)
Parameters
LabelElement
label
The label. |
DataPointElement
point
The point. |
System.Boolean
isSmartLabel
The is smart label. |
Returns
System.Drawing.PointF
|