MindFusion.Charting for JavaScript Programmer's Guide
PieChart Constructor
See Also
 






Initializes a new instance of the PieChart class.

Namespace: MindFusion.Charting.Controls
File: PieChart.js

 Syntax

JavaScript  Copy Code

function PieChart (element, [seriesRenderer])

 Parameters

element

Type: HTMLCanvasElement
The canvas DOM element to associate this chart with.

seriesRenderer
Optional.

Type: PieRenderer
A PieRenderer used to draw chart's data series.

 See Also

PieChart Class
MindFusion.Charting.Controls Namespace