MindFusion.Charting for JavaScript Programmer's Guide
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

Type: RenderContext
A RenderContext instance.

process

Type: ProcessSlice
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

PieRenderer Members
PieRenderer Class
MindFusion.Charting Namespace