Enumerates the slices of the pie.
Namespace: MindFusion.Charting
File: PieRenderer.js
JavaScript Copy Code |
---|
function enumSlices (context, process) |
Type: RenderContext
A RenderContext instance.
Type: ProcessSlice
A ProcessBars callback.
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.