This is machine translation

Translated by Microsoft
Mouseover text to see original. Click the button below to return to the English version of the page.

Note: This page has been translated by MathWorks. Click here to see
To view all translated materials including this page, select Country from the country navigator on the bottom of this page.

setWidths

Class: slmetric.dashboard.Container
Package: slmetric.dashboard

Specify multiple widths for Metrics Dashboard container

Syntax

setWidths(containerName, widths)

Description

setWidths(containerName, widths) specifies possible widths that an slmetric.dashboard.Container object can have. You can specify up to four different widths. For the input argument widths, pass either one value or an array of four values. You can choose from these possible values:

  • slmetric.dashboard.Width.ExtraSmall

  • slmetric.dashboard.Width.Small

  • slmetric.dashboard.Width.Medium

  • slmetric.dashboard.Width.Large

  • slmetric.dashboard.Width.XLarge

  • slmetric.dashboard.Width.XXLarge

These values correspond to the different sizes that a container can have as the screen size changes. If you specify one value, the container always has that value regardless of the screen size. If you specify four different values, the container size can change four times as you maximize and minimize the screen.

Input Arguments

expand all

slmetric.dashboard.Container object that is to have between one and four widths

Specify one or as many as four of these values:

  • slmetric.dashboard.Width.ExtraSmall

  • slmetric.dashboard.Width.Small

  • slmetric.dashboard.Width.Medium

  • slmetric.dashboard.Width.Large

  • slmetric.dashboard.Width.XLarge

  • slmetric.dashboard.Width.XXLarge

Introduced in R2018b