New to Telerik UI for WinFormsStart a free 30-day trial

Definition

Constructors

Initializes a new instance of the PieSeriesDrawPart class.

C#
public PieSeriesDrawPart(PieSeries series, IChartRenderer renderer)
Parameters:seriesPieSeries

The series.

rendererIChartRenderer

The renderer.

Properties

Gets the point paths.

C#
public Dictionary<PieDataPoint, GraphicsPath> PointPaths { get; }
Property Value:

The point paths.

Methods

Constructs the graphics path.

C#
protected virtual GraphicsPath ConstructGraphicsPath(PieDataPoint point, RadRect modelLayoutSlot, float diameter)
Parameters:pointPieDataPoint

The point.

modelLayoutSlotRadRect

The model layout slot.

diameterfloat

The diameter.

Returns:

GraphicsPath

Draws the series parts.

C#
public override void DrawSeriesParts()

Overrides: ChartSeriesDrawPart.DrawSeriesParts()

Gets the line point with offset.

C#
protected PointF GetLinePointWithOffset(RectangleF rect, float angle, float diameter)
Parameters:rectRectangleF

The rect.

anglefloat

The angle.

diameterfloat

The diameter.

Returns:

PointF

Gets the pie section rect.

C#
protected RectangleF GetPieSectionRect(PieDataPoint point, RadRect modelLayoutSlot, float diameter)
Parameters:pointPieDataPoint

The point.

modelLayoutSlotRadRect

The model layout slot.

diameterfloat

The diameter.

Returns:

RectangleF

Updates the point paths.

C#
protected void UpdatePointPaths(PieDataPoint point, GraphicsPath path)
Parameters:pointPieDataPoint

The point.

pathGraphicsPath

The path.