Skip to content

Commit 88a0542

Browse files
committed
Default max width
1 parent 7ad301e commit 88a0542

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

src/Element/Dash/ReportDefinition.php

+2-1
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99
* @method ReportDefinition label(string $label) label for this report
1010
* @method ReportDefinition type(string $type) type for display mode, eg: indicator, static
1111
* @method ReportDefinition row(int $row) row number where the report should be placed
12-
* @method ReportDefinition width(int $width) width to display the report
12+
* @method ReportDefinition width(int $width) width to display the report, between 1 - 20 range
1313
* @method ReportDefinition icon(string $icon) icon specifies an icon name for this report
1414
* @method ReportDefinition dimension(string $dimension) dimension name
1515
* @method ReportDefinition dataSource(string $dataSource) dataSource class name for obtaining report data
@@ -34,6 +34,7 @@ protected function initDefaultValues()
3434
$this
3535
->displayAs('static')
3636
->metrics([])
37+
->width(20)
3738
->row(1)
3839
;
3940
}

0 commit comments

Comments
 (0)