Search
PieRenderer.enumSlices Method
See Also
 






Enumerates the slices of the pie.

Namespace: MindFusion.Charting
File: PieRenderer.js

 Syntax

JavaScript  Copy Code

function enumSlices (context, process)

 Parameters

context

A RenderContext instance.

process

A ProcessBars callback.

 Remarks

The signature of the ProcessSlice delegate is as follows:'function(dataIndex, rect, diameter, startAngle, sweepAngle)'.param {Number} dataIndex An integer index of data item in Series.param {MindFusion.Drawing.Rect} rect The bounding rectangle of the slice' circle.param {Number} diameter The diameter of the pie.param {Number} startAngle The start angle of the slice' sector.param {Number} sweepAngle The sweep angle of the slice' sector.The method is not expected to return a value.

 See Also