This commit is contained in:
salam committed 2026-05-29 12:24:03 +02:00
1 parent e01400d65b
commit eea1a8de4e
3 files changed
+14 -7

No files matched your search

@@ -73,7 +73,7 @@ class LoadPerformance
'spanGaps' => true,
'tension' => 0.5,
'borderColor' => '#fb2c36',
'backgroundColor' => '#c10007',
'backgroundColor' => '#fb2c36',
],
[
'label' => 'Defence',
@@ -81,6 +81,7 @@ class LoadPerformance
'spanGaps' => true,
'tension' => 0.5,
'borderColor' => '#c10007',
'backgroundColor' => '#c10007',
'fill' => false,
],
[
@@ -89,6 +90,7 @@ class LoadPerformance
'spanGaps' => true,
'tension' => 0.5,
'borderColor' => '#c10007',
'backgroundColor' => '#c10007',
'fill' => false,
],
[
@@ -97,6 +99,7 @@ class LoadPerformance
'spanGaps' => true,
'tension' => 0.5,
'borderColor' => '#c10007',
'backgroundColor' => '#c10007',
'fill' => false,
],
[
@@ -105,7 +108,7 @@ class LoadPerformance
'spanGaps' => true,
'tension' => 0.5,
'borderColor' => '#fdc700',
'backgroundColor' => '#a65f00',
'backgroundColor' => '#fdc700',
'fill' => false,
],
[
@@ -114,6 +117,7 @@ class LoadPerformance
'spanGaps' => true,
'tension' => 0.5,
'borderColor' => '#d08700',
'backgroundColor' => '#d08700',
'fill' => false,
],
[
@@ -122,6 +126,7 @@ class LoadPerformance
'spanGaps' => true,
'tension' => 0.5,
'borderColor' => '#d08700',
'backgroundColor' => '#d08700',
'fill' => false,
],
[
@@ -130,6 +135,7 @@ class LoadPerformance
'spanGaps' => true,
'tension' => 0.5,
'borderColor' => '#d08700',
'backgroundColor' => '#d08700',
'fill' => false,
],
],
+1 -1
View File
@@ -25,7 +25,7 @@ class StatsMedianAverage extends StatsOverviewWidget
protected function getStats(): array
{
$data = LoadEvents::load($this->filters, 'Events');
$data = LoadEvents::load($this->filters);
$statistic_type = ucfirst(HelperStatisticType::get($this->filters));