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