slmetric.dashboard.Layout class
Package: slmetric.dashboard
Description
Object that holds an array of widget objects. The size, types, and locations of widgets in
an slmetric.dashboard.Layout
object determine the Metrics Dashboard
appearance. These are the widget objects:
slmetric.dashboard.Group
slmetric.dashboard.Container
slmetric.dashboard.Widget
slmetric.dashboard.CustomWidget
Construction
For an slmetric.dashboard.Configuration
object, use the
getDashboardLayout
method to create an
slmetric.dashboard.Layout
object. You can add or remove widgets from this
object. You can specify the size and location of these widgets in the Metrics Dashboard. Once
you complete your specification, apply the
slmetric.dashboard.Configuration.save
method to save your configuration.
Use the slmetric.dashboard.setActiveConfiguration
function to set the
active configuration.
The Metrics Dashboard layout is divided into 12 columns of equal size. Use the widget object methods to specify widget size.
Methods
addWidget | Add widget to slmetric.dashboard.Layout object |
getWidgets | Obtain a list of widgets in an slmetric.dashboard.Layout
object |
removeWidget | Remove widget from slmetric.dashboard.Layout object |
Examples
Version History
Introduced in R2018b