From 7662e28c40c3e2ffd6dcb417c066ff7ba6819246 Mon Sep 17 00:00:00 2001 From: Samuel Georges Date: Tue, 5 Nov 2024 16:57:19 +1100 Subject: [PATCH] Adds widgetClass --- src/Element/Dash/ReportDefinition.php | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/Element/Dash/ReportDefinition.php b/src/Element/Dash/ReportDefinition.php index de2fdd1fb..e726baa37 100644 --- a/src/Element/Dash/ReportDefinition.php +++ b/src/Element/Dash/ReportDefinition.php @@ -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 @@ -32,6 +33,7 @@ protected function initDefaultValues() { $this ->displayAs('static') + ->metrics([]) ; }