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
JavaScript Copy Code |
---|
function createAndAdd2By2Layout (row1col1, row1col2, row2col1, row2col2) |
Type: Component
The first component on first row.
Type: Component
The second component on first row.
Type: Component
The first component on second row.
Type: Component
The second component on second row.
Type: StackPanel
A StackPanel instance.