Skip to content

Commit

Permalink
Default max width
Browse files Browse the repository at this point in the history
  • Loading branch information
daftspunk committed Nov 26, 2024
1 parent 7ad301e commit 88a0542
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/Element/Dash/ReportDefinition.php
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
* @method ReportDefinition label(string $label) label for this report
* @method ReportDefinition type(string $type) type for display mode, eg: indicator, static
* @method ReportDefinition row(int $row) row number where the report should be placed
* @method ReportDefinition width(int $width) width to display the report
* @method ReportDefinition width(int $width) width to display the report, between 1 - 20 range
* @method ReportDefinition icon(string $icon) icon specifies an icon name for this report
* @method ReportDefinition dimension(string $dimension) dimension name
* @method ReportDefinition dataSource(string $dataSource) dataSource class name for obtaining report data
Expand All @@ -34,6 +34,7 @@ protected function initDefaultValues()
$this
->displayAs('static')
->metrics([])
->width(20)
->row(1)
;
}
Expand Down

0 comments on commit 88a0542

Please sign in to comment.