IDashboardLayoutSize
Dashboard layout size definition.
export interface IDashboardLayoutSize
Properties
Property | Modifiers | Type | Description |
|---|---|---|---|
number | (Optional) Height, defined as a number of grid rows. | ||
number | Width, defined as a number of grid columns (grid is 12 columns wide by default). | ||
number | (Optional) Height defined as the ratio to the width in percent. Examples: - When heightAsRatio is 100, the column has a 1:1 ratio. - When heightAsRatio is 200, the column has a 1:2 ratio. - When heightAsRatio is 50, the column has a 2:1 ratio. |
Property details
IDashboardLayoutSize.gridHeightproperty
Height, defined as a number of grid rows.
gridHeight?: number;
IDashboardLayoutSize.gridWidthproperty
Width, defined as a number of grid columns (grid is 12 columns wide by default).
gridWidth: number;
IDashboardLayoutSize.heightAsRatioproperty
Height defined as the ratio to the width in percent. Examples: - When heightAsRatio is 100, the column has a 1:1 ratio. - When heightAsRatio is 200, the column has a 1:2 ratio. - When heightAsRatio is 50, the column has a 2:1 ratio.
heightAsRatio?: number;