MindFusion.Charting for JavaScript Programmer's Guide
LayoutBuilder.createAndAdd2By2Layout Method
See Also
 






Creates horizontal stack panels for components on same row and adds them to a vertical stack panel.The panel is automatically added to the dashboard's LayoutPanel.

Namespace: MindFusion.Charting.Controls
File: LayoutBuilder.js

 Syntax

JavaScript  Copy Code

function createAndAdd2By2Layout (row1col1, row1col2, row2col1, row2col2)

 Parameters

row1col1

Type: Component
The first component on first row.

row1col2

Type: Component
The second component on first row.

row2col1

Type: Component
The first component on second row.

row2col2

Type: Component
The second component on second row.

 Return Value

Type: StackPanel
A StackPanel instance.

 See Also

LayoutBuilder Members
LayoutBuilder Class
MindFusion.Charting.Controls Namespace