Skip to content

Commit e03ddbc

Browse files
authored
dynamic y axis on charts (alexjustesen#222)
1 parent a0ed543 commit e03ddbc

File tree

3 files changed

+0
-33
lines changed

3 files changed

+0
-33
lines changed

app/Filament/Widgets/RecentJitterChart.php

Lines changed: 0 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -84,15 +84,4 @@ protected function getData(): array
8484
'labels' => $results->map(fn ($item) => $item->created_at->timezone($settings->timezone)->format('M d - G:i')),
8585
];
8686
}
87-
88-
protected static ?array $options = [
89-
'plugins' => [
90-
//
91-
],
92-
'scales' => [
93-
'y' => [
94-
'suggestedMin' => 0,
95-
],
96-
],
97-
];
9887
}

app/Filament/Widgets/RecentPingChart.php

Lines changed: 0 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -72,15 +72,4 @@ protected function getData(): array
7272
'labels' => $results->map(fn ($item) => $item->created_at->timezone($settings->timezone)->format('M d - G:i')),
7373
];
7474
}
75-
76-
protected static ?array $options = [
77-
'plugins' => [
78-
//
79-
],
80-
'scales' => [
81-
'y' => [
82-
'min' => 0,
83-
],
84-
],
85-
];
8675
}

app/Filament/Widgets/RecentSpeedChart.php

Lines changed: 0 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -78,15 +78,4 @@ protected function getData(): array
7878
'labels' => $results->map(fn ($item) => $item->created_at->timezone($settings->timezone)->format('M d - G:i')),
7979
];
8080
}
81-
82-
protected static ?array $options = [
83-
'plugins' => [
84-
//
85-
],
86-
'scales' => [
87-
'y' => [
88-
'min' => 0,
89-
],
90-
],
91-
];
9281
}

0 commit comments

Comments
 (0)