setPosition
R2026bClass: slmetric.dashboard.Widget
Namespace: slmetric.dashboard
(To be removed) Set widget position within Metrics Dashboard
The Metrics Dashboard app, model metrics, slmetric API, and corresponding customizations will be removed in a future release. For more information, see Migrating from Metrics Dashboard to Model Design Dashboards.
Syntax
Description
setPosition(
sets the position of an Widget, num)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.