MindFusion.Charting for JavaScript Programmer's Guide
Control.left Property
See Also
 






Gets or sets the X-coordinate of the location of this control.

Namespace: MindFusion.Common
File: Control.js

 Syntax

JavaScript  Copy Code

get left() {}

 Property Value

Unit. The X-coordinate of the control's location.

 Example

The following code uses the left property to specify the location of a Window instance:

JavaScript  Copy Code
window = new ui.Window();
window.top = ui.Unit.percentage(25);
window.left = ui.Unit.percentage(25);
window.width = ui.Unit.pixel(400);
window.height = ui.Unit.pixel(300);

 See Also

Control Members
Control Class
MindFusion.Common Namespace