LabelElementDrawPart
Class
Definition
Namespace:Telerik.WinControls.UI
Assembly:Telerik.WinControls.ChartView.dll
Syntax:
C#
public class LabelElementDrawPart : DrawPart<ChartSeries>, IDrawPart
Inheritance: objectDrawPart<ChartSeries>LabelElementDrawPart
Derived Classes:
Implements:
Inherited Members
Constructors
Initializes a new instance of the LabelElementDrawPart class.
C#
public LabelElementDrawPart(ChartSeries owner, IChartRenderer renderer)
The owner.
rendererIChartRendererThe renderer.
Methods
Adjusts the layout slot.
C#
protected virtual RadRect AdjustLayoutSlot(RadRect rect, DataPointElement point)
The rect.
pointDataPointElementThe point.
Returns:Draws the label element.
C#
public override void Draw()
Overrides:
Draws the connecting line.
C#
protected virtual void DrawConnectingLine(RadGdiGraphics graphics, LabelElement label, DataPointElement point, bool isSmartLabel)
The graphics.
labelLabelElementThe label.
pointDataPointElementThe point.
isSmartLabelboolThe is smart label.
Gets the line end.
C#
protected virtual PointF GetLineEnd(LabelElement label, DataPointElement point, bool isSmartLabel)
The label.
pointDataPointElementThe point.
isSmartLabelboolThe is smart label.
Returns:Gets the line start.
C#
protected virtual PointF GetLineStart(LabelElement label, DataPointElement point, bool isSmartLabel)
The label.
pointDataPointElementThe point.
isSmartLabelboolThe is smart label.
Returns: