diff --git a/web/views/@default/clusters/cluster/boards/index.js b/web/views/@default/clusters/cluster/boards/index.js index b3bb84c6..b0f5b27c 100644 --- a/web/views/@default/clusters/cluster/boards/index.js +++ b/web/views/@default/clusters/cluster/boards/index.js @@ -36,7 +36,7 @@ Tea.context(function () { attackRatio = Math.round(stats[index].attackBytes * 10000 / stats[index].bytes) / 100 } - return stats[index].day + " " + stats[index].hour + "时
总流量:" + teaweb.formatBytes(stats[index].bytes) + "
缓存流量:" + teaweb.formatBytes(stats[index].cachedBytes) + "
缓存命中率:" + cachedRatio + "%
拦截攻击流量:" + teaweb.formatBytes(stats[index].attackBytes) + "
拦截比例:" + attackRatio + "%" + return stats[index].day + " " + stats[index].hour + "时
总流量:" + teaweb.formatBytes(stats[index].bytes) + "
缓存流量:" + teaweb.formatBytes(stats[index].cachedBytes) + "
缓存命中率:" + cachedRatio + "%
拦截攻击流量:" + teaweb.formatBytes(stats[index].attackBytes) + "
拦截比例:" + attackRatio + "%" }) } @@ -131,6 +131,9 @@ Tea.context(function () { itemStyle: { color: "#F39494" }, + areaStyle: { + color: "#F39494" + }, smooth: true } ], @@ -270,7 +273,7 @@ Tea.context(function () { itemStyle: { color: "#F39494" }, - lineStyle: { + areaStyle: { color: "#F39494" }, smooth: true diff --git a/web/views/@default/clusters/cluster/node/boards/index.js b/web/views/@default/clusters/cluster/node/boards/index.js index 16fe4666..288255d5 100644 --- a/web/views/@default/clusters/cluster/node/boards/index.js +++ b/web/views/@default/clusters/cluster/node/boards/index.js @@ -177,7 +177,7 @@ Tea.context(function () { itemStyle: { color: "#F39494" }, - lineStyle: { + areaStyle: { color: "#F39494" }, smooth: true @@ -319,7 +319,7 @@ Tea.context(function () { itemStyle: { color: "#F39494" }, - lineStyle: { + areaStyle: { color: "#F39494" }, smooth: true diff --git a/web/views/@default/dashboard/boards/index.js b/web/views/@default/dashboard/boards/index.js index fe5d3be8..c59ac7b0 100644 --- a/web/views/@default/dashboard/boards/index.js +++ b/web/views/@default/dashboard/boards/index.js @@ -126,7 +126,7 @@ Tea.context(function () { itemStyle: { color: "#F39494" }, - lineStyle: { + areaStyle: { color: "#F39494" }, smooth: true @@ -268,7 +268,7 @@ Tea.context(function () { itemStyle: { color: "#F39494" }, - lineStyle: { + areaStyle: { color: "#F39494" }, smooth: true diff --git a/web/views/@default/servers/server/boards/index.js b/web/views/@default/servers/server/boards/index.js index f3775075..d0eb0b1a 100644 --- a/web/views/@default/servers/server/boards/index.js +++ b/web/views/@default/servers/server/boards/index.js @@ -139,7 +139,7 @@ Tea.context(function () { itemStyle: { color: "#F39494" }, - lineStyle: { + areaStyle: { color: "#F39494" }, smooth: true @@ -281,7 +281,7 @@ Tea.context(function () { itemStyle: { color: "#F39494" }, - lineStyle: { + areaStyle: { color: "#F39494" }, smooth: true