Main Content

setSeparators

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

Specify lines on Metrics Dashboard widget sides

Description

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

Input Arguments

expand all

The input is a structure array 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 widget side. A value of 0 indicates that there is no line on that widget side. To indicate that the widget sides are always the same even if the screen size changes, you can pass one structure. Passing four structures indicates that the widget sides can have different separators as the screen width size changes. Use the setWidths method to specify up to four different widths.

Data Types: char

Version History

Introduced in R2018b