diff --git a/app/Filament/Widgets/RecentDownloadChartWidget.php b/app/Filament/Widgets/RecentDownloadChartWidget.php index 4600a3f21..3094287ad 100644 --- a/app/Filament/Widgets/RecentDownloadChartWidget.php +++ b/app/Filament/Widgets/RecentDownloadChartWidget.php @@ -70,7 +70,6 @@ protected function getData(): array 'fill' => false, 'cubicInterpolationMode' => 'monotone', 'tension' => 0.4, - 'borderDash' => [5, 5], 'pointRadius' => 0, ], ], @@ -96,6 +95,7 @@ protected function getOptions(): array 'scales' => [ 'y' => [ 'beginAtZero' => config('app.chart_begin_at_zero'), + 'grace' => 2, ], ], ]; diff --git a/app/Filament/Widgets/RecentDownloadLatencyChartWidget.php b/app/Filament/Widgets/RecentDownloadLatencyChartWidget.php index b5040abc9..3fbe67d9a 100644 --- a/app/Filament/Widgets/RecentDownloadLatencyChartWidget.php +++ b/app/Filament/Widgets/RecentDownloadLatencyChartWidget.php @@ -104,6 +104,7 @@ protected function getOptions(): array 'scales' => [ 'y' => [ 'beginAtZero' => config('app.chart_begin_at_zero'), + 'grace' => 2, ], ], ]; diff --git a/app/Filament/Widgets/RecentPingChartWidget.php b/app/Filament/Widgets/RecentPingChartWidget.php index 240710057..715eddb0e 100644 --- a/app/Filament/Widgets/RecentPingChartWidget.php +++ b/app/Filament/Widgets/RecentPingChartWidget.php @@ -69,7 +69,6 @@ protected function getData(): array 'fill' => false, 'cubicInterpolationMode' => 'monotone', 'tension' => 0.4, - 'borderDash' => [5, 5], 'pointRadius' => 0, ], ], @@ -94,6 +93,7 @@ protected function getOptions(): array 'scales' => [ 'y' => [ 'beginAtZero' => config('app.chart_begin_at_zero'), + 'grace' => 2, ], ], ]; diff --git a/app/Filament/Widgets/RecentUploadChartWidget.php b/app/Filament/Widgets/RecentUploadChartWidget.php index 00d07a098..1997ece1e 100644 --- a/app/Filament/Widgets/RecentUploadChartWidget.php +++ b/app/Filament/Widgets/RecentUploadChartWidget.php @@ -70,7 +70,6 @@ protected function getData(): array 'fill' => false, 'cubicInterpolationMode' => 'monotone', 'tension' => 0.4, - 'borderDash' => [5, 5], 'pointRadius' => 0, ], ], @@ -95,6 +94,7 @@ protected function getOptions(): array 'scales' => [ 'y' => [ 'beginAtZero' => config('app.chart_begin_at_zero'), + 'grace' => 2, ], ], ]; diff --git a/app/Filament/Widgets/RecentUploadLatencyChartWidget.php b/app/Filament/Widgets/RecentUploadLatencyChartWidget.php index 9397f8c52..c6625cf89 100644 --- a/app/Filament/Widgets/RecentUploadLatencyChartWidget.php +++ b/app/Filament/Widgets/RecentUploadLatencyChartWidget.php @@ -104,6 +104,7 @@ protected function getOptions(): array 'scales' => [ 'y' => [ 'beginAtZero' => config('app.chart_begin_at_zero'), + 'grace' => 2, ], ], ];