Skip to content

Commit

Permalink
[Feature] Change Average to solid line & Add grace (#1865)
Browse files Browse the repository at this point in the history
  • Loading branch information
svenvg93 authored Dec 2, 2024
1 parent dbe74ab commit 6c1592b
Show file tree
Hide file tree
Showing 5 changed files with 5 additions and 3 deletions.
2 changes: 1 addition & 1 deletion app/Filament/Widgets/RecentDownloadChartWidget.php
Original file line number Diff line number Diff line change
Expand Up @@ -70,7 +70,6 @@ protected function getData(): array
'fill' => false,
'cubicInterpolationMode' => 'monotone',
'tension' => 0.4,
'borderDash' => [5, 5],
'pointRadius' => 0,
],
],
Expand All @@ -96,6 +95,7 @@ protected function getOptions(): array
'scales' => [
'y' => [
'beginAtZero' => config('app.chart_begin_at_zero'),
'grace' => 2,
],
],
];
Expand Down
1 change: 1 addition & 0 deletions app/Filament/Widgets/RecentDownloadLatencyChartWidget.php
Original file line number Diff line number Diff line change
Expand Up @@ -104,6 +104,7 @@ protected function getOptions(): array
'scales' => [
'y' => [
'beginAtZero' => config('app.chart_begin_at_zero'),
'grace' => 2,
],
],
];
Expand Down
2 changes: 1 addition & 1 deletion app/Filament/Widgets/RecentPingChartWidget.php
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,6 @@ protected function getData(): array
'fill' => false,
'cubicInterpolationMode' => 'monotone',
'tension' => 0.4,
'borderDash' => [5, 5],
'pointRadius' => 0,
],
],
Expand All @@ -94,6 +93,7 @@ protected function getOptions(): array
'scales' => [
'y' => [
'beginAtZero' => config('app.chart_begin_at_zero'),
'grace' => 2,
],
],
];
Expand Down
2 changes: 1 addition & 1 deletion app/Filament/Widgets/RecentUploadChartWidget.php
Original file line number Diff line number Diff line change
Expand Up @@ -70,7 +70,6 @@ protected function getData(): array
'fill' => false,
'cubicInterpolationMode' => 'monotone',
'tension' => 0.4,
'borderDash' => [5, 5],
'pointRadius' => 0,
],
],
Expand All @@ -95,6 +94,7 @@ protected function getOptions(): array
'scales' => [
'y' => [
'beginAtZero' => config('app.chart_begin_at_zero'),
'grace' => 2,
],
],
];
Expand Down
1 change: 1 addition & 0 deletions app/Filament/Widgets/RecentUploadLatencyChartWidget.php
Original file line number Diff line number Diff line change
Expand Up @@ -104,6 +104,7 @@ protected function getOptions(): array
'scales' => [
'y' => [
'beginAtZero' => config('app.chart_begin_at_zero'),
'grace' => 2,
],
],
];
Expand Down

0 comments on commit 6c1592b

Please sign in to comment.