Class
PieSeriesDrawPart

Definition

Constructors

PieSeriesDrawPart(PieSeries, IChartRenderer)

Initializes a new instance of the PieSeriesDrawPart class.

Declaration

cs-api-definition
public PieSeriesDrawPart(PieSeries series, IChartRenderer renderer)

Parameters

series

PieSeries

The series.

renderer

IChartRenderer

The renderer.

Properties

PointPaths

Gets the point paths.

Declaration

cs-api-definition
public Dictionary<PieDataPoint, GraphicsPath> PointPaths { get; }

Property Value

Dictionary<PieDataPoint, GraphicsPath>

The point paths.

Methods

ConstructGraphicsPath(PieDataPoint, RadRect, float)

Constructs the graphics path.

Declaration

cs-api-definition
protected virtual GraphicsPath ConstructGraphicsPath(PieDataPoint point, RadRect modelLayoutSlot, float diameter)

Parameters

point

PieDataPoint

The point.

modelLayoutSlot

RadRect

The model layout slot.

diameter

float

The diameter.

Returns

GraphicsPath

DrawSeriesParts()

Draws the series parts.

Declaration

cs-api-definition
public override void DrawSeriesParts()

Overrides ChartSeriesDrawPart.DrawSeriesParts()

GetLinePointWithOffset(RectangleF, float, float)

Gets the line point with offset.

Declaration

cs-api-definition
protected PointF GetLinePointWithOffset(RectangleF rect, float angle, float diameter)

Parameters

rect

RectangleF

The rect.

angle

float

The angle.

diameter

float

The diameter.

Returns

PointF

GetPieSectionRect(PieDataPoint, RadRect, float)

Gets the pie section rect.

Declaration

cs-api-definition
protected RectangleF GetPieSectionRect(PieDataPoint point, RadRect modelLayoutSlot, float diameter)

Parameters

point

PieDataPoint

The point.

modelLayoutSlot

RadRect

The model layout slot.

diameter

float

The diameter.

Returns

RectangleF

UpdatePointPaths(PieDataPoint, GraphicsPath)

Updates the point paths.

Declaration

cs-api-definition
protected void UpdatePointPaths(PieDataPoint point, GraphicsPath path)

Parameters

point

PieDataPoint

The point.

path

GraphicsPath

The path.