mirror of
https://github.com/TeaOSLab/EdgeAdmin.git
synced 2025-11-03 20:40:26 +08:00
图表中攻击流量类型改为Line Area
This commit is contained in:
@@ -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 + "时<br/>总流量:" + teaweb.formatBytes(stats[index].bytes) + "<br/>缓存流量:" + teaweb.formatBytes(stats[index].cachedBytes) + "<br/>缓存命中率:" + cachedRatio + "%<br/>拦截攻击流量:" + teaweb.formatBytes(stats[index].attackBytes) + "<br/>拦截比例:" + attackRatio + "%"
|
||||
return stats[index].day + " " + stats[index].hour + "时<br/>总流量:" + teaweb.formatBytes(stats[index].bytes) + "<br/>缓存流量:" + teaweb.formatBytes(stats[index].cachedBytes) + "<br/>缓存命中率:" + cachedRatio + "%<br/>拦截攻击流量:" + teaweb.formatBytes(stats[index].attackBytes) + "<br/>拦截比例:" + 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
|
||||
|
||||
@@ -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
|
||||
|
||||
@@ -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
|
||||
|
||||
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user