Main Content

setPosition

Class: slmetric.dashboard.Widget
Package: slmetric.dashboard

Set widget position within Metrics Dashboard

Description

setPosition(Widget, num) sets the position of an slmetric.dashboard.Widget object in an array that holds Metrics Dashboard objects. This array contains the Metrics Dashboard objects in an slmetric.dashboard.Layout, an slmetric.dashboard.Container, or an slmetric.dashboard.Group object. The order of objects in the array corresponds to proceeding from left to right, and then down in the Metrics Dashboard.

Input Arguments

expand all

Specify the slmetric.dashboard.Widget object for which you set its position in the array.

Output Arguments

expand all

Position of slmetric.dashboard.Widget object within an array that holds the Metrics Dashboard objects in either an slmetric.dashboard.Layout, an slmetric.dashboard.Container, or an slmetric.dashboard.Group object.

Data Types: double

Version History

Introduced in R2018b