Skip to main content
A newer version of this page is available. .

DashboardLayoutItem Class

A layout item that displays a dashboard item.

Declaration

export class DashboardLayoutItem extends DashboardLayoutNode

Remarks

To display a dashboard item within a layout item, pass the DashboardItem descendant to the DashboardLayoutItem constructor.

The DashboardLayoutNode.weight property allows you to specify the relative size of the created layout item.

constructor

Initializes a new instance of the DashboardLayoutItem class.

Declaration

constructor(
    modelJson?: Object,
    serializer?: DxDesigner.Analytics.Utils.ModelSerializer
)

Parameters

Name Type Description
modelJson Object
serializer DxDesigner.Analytics.Utils.ModelSerializer

An object used for a dashboard deserialization. Do not pass this parameter directly.