Skip to content

Commit 6c1592b

Browse files
authored
[Feature] Change Average to solid line & Add grace (alexjustesen#1865)
1 parent dbe74ab commit 6c1592b

File tree

5 files changed

+5
-3
lines changed

5 files changed

+5
-3
lines changed

app/Filament/Widgets/RecentDownloadChartWidget.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -70,7 +70,6 @@ protected function getData(): array
7070
'fill' => false,
7171
'cubicInterpolationMode' => 'monotone',
7272
'tension' => 0.4,
73-
'borderDash' => [5, 5],
7473
'pointRadius' => 0,
7574
],
7675
],
@@ -96,6 +95,7 @@ protected function getOptions(): array
9695
'scales' => [
9796
'y' => [
9897
'beginAtZero' => config('app.chart_begin_at_zero'),
98+
'grace' => 2,
9999
],
100100
],
101101
];

app/Filament/Widgets/RecentDownloadLatencyChartWidget.php

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -104,6 +104,7 @@ protected function getOptions(): array
104104
'scales' => [
105105
'y' => [
106106
'beginAtZero' => config('app.chart_begin_at_zero'),
107+
'grace' => 2,
107108
],
108109
],
109110
];

app/Filament/Widgets/RecentPingChartWidget.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -69,7 +69,6 @@ protected function getData(): array
6969
'fill' => false,
7070
'cubicInterpolationMode' => 'monotone',
7171
'tension' => 0.4,
72-
'borderDash' => [5, 5],
7372
'pointRadius' => 0,
7473
],
7574
],
@@ -94,6 +93,7 @@ protected function getOptions(): array
9493
'scales' => [
9594
'y' => [
9695
'beginAtZero' => config('app.chart_begin_at_zero'),
96+
'grace' => 2,
9797
],
9898
],
9999
];

app/Filament/Widgets/RecentUploadChartWidget.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -70,7 +70,6 @@ protected function getData(): array
7070
'fill' => false,
7171
'cubicInterpolationMode' => 'monotone',
7272
'tension' => 0.4,
73-
'borderDash' => [5, 5],
7473
'pointRadius' => 0,
7574
],
7675
],
@@ -95,6 +94,7 @@ protected function getOptions(): array
9594
'scales' => [
9695
'y' => [
9796
'beginAtZero' => config('app.chart_begin_at_zero'),
97+
'grace' => 2,
9898
],
9999
],
100100
];

app/Filament/Widgets/RecentUploadLatencyChartWidget.php

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -104,6 +104,7 @@ protected function getOptions(): array
104104
'scales' => [
105105
'y' => [
106106
'beginAtZero' => config('app.chart_begin_at_zero'),
107+
'grace' => 2,
107108
],
108109
],
109110
];

0 commit comments

Comments
 (0)