MindFusion.Charting for JavaScript Programmer's Guide
PieRenderer.enumSlices Method
See Also
Collapse All Expand All Language Filter: All Language Filter: Multiple Language Filter: None Language Filter: C# Language Filter: Visual Basic Language Filter: Java Language Filter: JavaScript Language Filter: C++ Language Filter: XAML

C#
Visual Basic
Java
JavaScript
C++
XAML

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