[增添]添加了系统设备数据显示stats widget
This commit is contained in:
@@ -7,7 +7,7 @@ use Filament\Widgets\ChartWidget;
|
||||
|
||||
class PrometheusMemory extends ChartWidget
|
||||
{
|
||||
protected static ?int $sort = 3;
|
||||
protected static ?int $sort = 4;
|
||||
|
||||
protected static ?string $heading = '内存占用率';
|
||||
|
||||
@@ -44,7 +44,7 @@ class PrometheusMemory extends ChartWidget
|
||||
'borderColor' => '#4CAF50',
|
||||
'backgroundColor' => 'rgba(76, 175, 80, 0.2)',
|
||||
'fill' => true,
|
||||
'tension' => 0.4,
|
||||
'tension' => 0.2,
|
||||
],
|
||||
],
|
||||
];
|
||||
|
||||
Reference in New Issue
Block a user