MindFusion.Charting for JavaScript Programmer's Guide
ZoomControl.create Method
See Also
 






Creates and initializes a new ZoomControl from the specified element. This method is static and can be called without creating an instance of the class.

Namespace: MindFusion.Controls
File: ZoomControl.js

 Syntax

JavaScript  Copy Code

function create (element)

 Parameters

element

Type: HTMLCanvasElement
HTMLCanvasElement. The DOM element that the zoomControl should be attached to.

 Return Value

A ZoomControl object that represents the newly created zoom control.

 See Also

ZoomControl Members
ZoomControl Class
MindFusion.Controls Namespace