Class PieSeriesDrawPart
Inherited Members
Namespace: Telerik.WinControls.UI
Assembly: Telerik.WinControls.ChartView.dll
Syntax
public class PieSeriesDrawPart : ChartSeriesDrawPart, IDrawPart
Constructors
PieSeriesDrawPart(PieSeries, IChartRenderer)
Initializes a new instance of the PieSeriesDrawPart class.
Declaration
public PieSeriesDrawPart(PieSeries series, IChartRenderer renderer)
Parameters
PieSeries
series
The series. |
IChartRenderer
renderer
The renderer. |
Properties
PointPaths
Gets the point paths.
Declaration
public Dictionary<PieDataPoint, GraphicsPath> PointPaths { get; }
Property Value
System.Collections.Generic.Dictionary<PieDataPoint, System.Drawing.Drawing2D.GraphicsPath>
The point paths. |
Methods
ConstructGraphicsPath(PieDataPoint, RadRect, Single)
Constructs the graphics path.
Declaration
protected virtual GraphicsPath ConstructGraphicsPath(PieDataPoint point, RadRect modelLayoutSlot, float diameter)
Parameters
PieDataPoint
point
The point. |
RadRect
modelLayoutSlot
The model layout slot. |
System.Single
diameter
The diameter. |
Returns
System.Drawing.Drawing2D.GraphicsPath
|
DrawSeriesParts()
Draws the series parts.
Declaration
public override void DrawSeriesParts()
Overrides
GetLinePointWithOffset(RectangleF, Single, Single)
Gets the line point with offset.
Declaration
protected PointF GetLinePointWithOffset(RectangleF rect, float angle, float diameter)
Parameters
System.Drawing.RectangleF
rect
The rect. |
System.Single
angle
The angle. |
System.Single
diameter
The diameter. |
Returns
System.Drawing.PointF
|
GetPieSectionRect(PieDataPoint, RadRect, Single)
Gets the pie section rect.
Declaration
protected RectangleF GetPieSectionRect(PieDataPoint point, RadRect modelLayoutSlot, float diameter)
Parameters
PieDataPoint
point
The point. |
RadRect
modelLayoutSlot
The model layout slot. |
System.Single
diameter
The diameter. |
Returns
System.Drawing.RectangleF
|
UpdatePointPaths(PieDataPoint, GraphicsPath)
Updates the point paths.
Declaration
protected void UpdatePointPaths(PieDataPoint point, GraphicsPath path)
Parameters
PieDataPoint
point
The point. |
System.Drawing.Drawing2D.GraphicsPath
path
The path. |