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






Initializes a new instance of the CanvasControl class.

Namespace: MindFusion.Controls
File: CanvasControl.js

 Syntax

JavaScript  Copy Code

function CanvasControl (element, [canvas])

 Parameters

element

Type: HTMLCanvasElement
HTMLCanvasElement. The Canvas DOM Element this CanvasControl is associated with.

canvas
Optional.

Type: Canvas
Canvas. The Canvas instance this CanvasControl is associated with.

 See Also

CanvasControl Class
MindFusion.Controls Namespace