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






Initializes a new instance of the Chart class.

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

 Syntax

JavaScript  Copy Code

function Chart (element, [renderer])

 Parameters

element

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

renderer
Optional.

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

 See Also

Chart Class
MindFusion.Charting.Controls Namespace