Skip to content

Commit

Permalink
Adds widgetClass
Browse files Browse the repository at this point in the history
  • Loading branch information
daftspunk committed Nov 5, 2024
1 parent 6b365ff commit 7662e28
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/Element/Dash/ReportDefinition.php
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@
* @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
* @method ReportDefinition widgetClass(string $widgetClass) widgetClass class name for the report widget
* @method ReportDefinition metrics(array $metrics) metrics to display with the report
* @method ReportDefinition dateStart(string $dateStart) dateStart
* @method ReportDefinition dateEnd(string $dateEnd) dateEnd
Expand All @@ -32,6 +33,7 @@ protected function initDefaultValues()
{
$this
->displayAs('static')
->metrics([])
;
}

Expand Down

0 comments on commit 7662e28

Please sign in to comment.