From 1fd6e88fead67ff70c2f45bbf83ac5160b23b3a5 Mon Sep 17 00:00:00 2001 From: icret Date: Tue, 18 Jan 2022 13:17:26 +0800 Subject: [PATCH] fix --- admin/chart.php | 14 +++++++------- admin/zui.chart.php | 10 +++++----- 2 files changed, 12 insertions(+), 12 deletions(-) diff --git a/admin/chart.php b/admin/chart.php index 60b121c..a0778c3 100755 --- a/admin/chart.php +++ b/admin/chart.php @@ -16,12 +16,12 @@ if (isset($_POST['del_total'])) { @deldir($_POST['del_total']); echo ' '; // 延时1s刷新 - Header("refresh:1;url=counts.php"); + Header("refresh:1;url=chart.php"); } // 统计图表 // array_reverse($arr,true) 倒叙数组并保持键值关系 @@ -64,8 +64,8 @@ if (is_array($char_data)) {
-
- 统计时间: + + 统计时间:
@@ -146,7 +146,7 @@ if (is_array($char_data)) { formatter: '{value}%' }, data: [{ - value: , + value: , name: '已使用' }] }] @@ -240,7 +240,7 @@ if (is_array($char_data)) { myPieChart = { color: ['#38B03F', '#353535'], title: { - // text: '硬盘使用统计:(GB)', + // text: '硬盘使用统计:(GB)', left: 'center' }, tooltip: { @@ -253,7 +253,7 @@ if (is_array($char_data)) { data: ['剩余空间', '已用空间'] }, series: [{ - name: '硬盘使用:', + name: '硬盘使用:', type: 'pie', radius: '55%', center: ['50%', '60%'], diff --git a/admin/zui.chart.php b/admin/zui.chart.php index 1f307af..0414c65 100755 --- a/admin/zui.chart.php +++ b/admin/zui.chart.php @@ -16,12 +16,12 @@ if (isset($_POST['del_total'])) { @deldir($_POST['del_total']); echo ' '; // 延时1s刷新 - Header("refresh:1;url=counts.php"); + Header("refresh:1;url=chart.php"); } // 统计图表 // array_reverse($arr,true) 倒叙数组并保持键值关系 @@ -58,8 +58,8 @@ if (is_array($char_data)) {
-
- 统计时间: + + 统计时间:
@@ -114,7 +114,7 @@ if (is_array($char_data)) {
-

硬盘统计:(GB)

+

硬盘统计:(GB)