[增添]添加了CPU核心数量显示stat

This commit is contained in:
makotocc0107
2024-08-30 09:44:05 +08:00
committed by Coding
parent a3566a1449
commit 500c0f9f7d
3 changed files with 49 additions and 22 deletions

View File

@@ -39,8 +39,8 @@ class CPUStatus extends ChartWidget
[
'label' => 'CPU 占用情况',
'data' => $data,
'backgroundColor' => ['#FBD1B7', '#E0F5B9'], // 柔和颜色
'borderColor' => ['#FBD1B7', '#E0F5B9'], // 边框颜色
'backgroundColor' => ['#FF8080', '#E0F5B9'], // 柔和颜色
'borderColor' => ['#FF8080', '#E0F5B9'], // 边框颜色
'borderWidth' => 1, // 边框宽度
],
],