Main Content

setSeparators

Class: slmetric.dashboard.Container
Namespace: slmetric.dashboard

(To be removed) Specify lines on Metrics Dashboard container sides

The Metrics Dashboard user interface, metricdashboard function, slmetric package API, and corresponding customizations will be removed in a future release. For more information, see Migrating from Metrics Dashboard to Model Maintainability Dashboard.

Description

setSeparators(S) specifies whether there are lines on the sides of an slmetric.dashboard.Container object.

Input Arguments

expand all

The input is a structure or an array of four structures consisting of these fields:

  • S.top

  • S.bottom

  • S.left

  • S.right

Each field must be set to 1 or 0. A value of 1 indicates that there is a line on that container side. A value of 0 indicates that there is no line on that container side. To indicate that the container sides are always the same even if the screen size changes, you can pass one structure. Passing four structures indicates that the container sides can have different separators as the screen width size changes. Use the setWidths method to specify up to four different widths.

Version History

Introduced in R2018b

collapse all

R2022a: Metrics Dashboard will be removed

The Metrics Dashboard user interface, metricdashboard function, slmetric package API, and corresponding customizations will be removed in a future release. For more information, see Migrating from Metrics Dashboard to Model Maintainability Dashboard.