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