From e48a11bd0d0c05bbf65059797de5baa4c3b44d49 Mon Sep 17 00:00:00 2001 From: salam Date: Sat, 23 May 2026 16:39:34 +0200 Subject: [PATCH] wip --- app/Filament/Widgets/ChartMovingAveragePlayer.php | 5 +++++ app/Filament/Widgets/ChartPunctualEvent.php | 5 +++++ 2 files changed, 10 insertions(+) diff --git a/app/Filament/Widgets/ChartMovingAveragePlayer.php b/app/Filament/Widgets/ChartMovingAveragePlayer.php index 4a026008..38cc55b4 100644 --- a/app/Filament/Widgets/ChartMovingAveragePlayer.php +++ b/app/Filament/Widgets/ChartMovingAveragePlayer.php @@ -25,6 +25,11 @@ class ChartMovingAveragePlayer extends ChartWidget 'interaction' => [ 'intersect' => false, ], + 'scales' => [ + 'y' => [ + 'beginAtZero' => true, + ], + ], ]; public function getDescription(): ?string diff --git a/app/Filament/Widgets/ChartPunctualEvent.php b/app/Filament/Widgets/ChartPunctualEvent.php index 7d0d7287..10c3cc41 100644 --- a/app/Filament/Widgets/ChartPunctualEvent.php +++ b/app/Filament/Widgets/ChartPunctualEvent.php @@ -22,6 +22,11 @@ class ChartPunctualEvent extends ChartWidget 'interaction' => [ 'intersect' => false, ], + 'scales' => [ + 'y' => [ + 'beginAtZero' => true, + ], + ], ]; protected function getData(): array