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