各个线图改成圆滑曲线

This commit is contained in:
刘祥超
2021-07-26 14:32:24 +08:00
parent 3c3408624d
commit 5084d9f87e
12 changed files with 94 additions and 47 deletions

View File

@@ -547,7 +547,8 @@ window.teaweb = {
itemStyle: { itemStyle: {
color: "#9DD3E8" color: "#9DD3E8"
}, },
areaStyle: {} areaStyle: {},
smooth: true
} }
], ],
animation: true animation: true

View File

@@ -105,7 +105,8 @@ Tea.context(function () {
}, },
areaStyle: { areaStyle: {
color: "#9DD3E8" color: "#9DD3E8"
} },
smooth: true
}, },
{ {
name: "缓存流量", name: "缓存流量",
@@ -118,7 +119,8 @@ Tea.context(function () {
}, },
areaStyle: { areaStyle: {
color: "#61A0A8" color: "#61A0A8"
} },
smooth: true
}, },
{ {
name: "攻击流量", name: "攻击流量",
@@ -128,7 +130,8 @@ Tea.context(function () {
}), }),
itemStyle: { itemStyle: {
color: "#F39494" color: "#F39494"
} },
smooth: true
} }
], ],
legend: { legend: {
@@ -241,7 +244,8 @@ Tea.context(function () {
}, },
areaStyle: { areaStyle: {
color: "#9DD3E8" color: "#9DD3E8"
} },
smooth: true
}, },
{ {
name: "缓存请求数", name: "缓存请求数",
@@ -254,7 +258,8 @@ Tea.context(function () {
}, },
areaStyle: { areaStyle: {
color: "#61A0A8" color: "#61A0A8"
} },
smooth: true
}, },
{ {
name: "攻击请求数", name: "攻击请求数",
@@ -267,7 +272,8 @@ Tea.context(function () {
}, },
lineStyle: { lineStyle: {
color: "#F39494" color: "#F39494"
} },
smooth: true
} }
], ],
legend: { legend: {

View File

@@ -151,7 +151,8 @@ Tea.context(function () {
}, },
areaStyle: { areaStyle: {
color: "#9DD3E8" color: "#9DD3E8"
} },
smooth: true
}, },
{ {
name: "缓存流量", name: "缓存流量",
@@ -164,7 +165,8 @@ Tea.context(function () {
}, },
areaStyle: { areaStyle: {
color: "#61A0A8" color: "#61A0A8"
} },
smooth: true
}, },
{ {
name: "攻击流量", name: "攻击流量",
@@ -177,7 +179,8 @@ Tea.context(function () {
}, },
lineStyle: { lineStyle: {
color: "#F39494" color: "#F39494"
} },
smooth: true
} }
], ],
legend: { legend: {
@@ -290,7 +293,8 @@ Tea.context(function () {
}, },
areaStyle: { areaStyle: {
color: "#9DD3E8" color: "#9DD3E8"
} },
smooth: true
}, },
{ {
name: "缓存请求数", name: "缓存请求数",
@@ -303,7 +307,8 @@ Tea.context(function () {
}, },
areaStyle: { areaStyle: {
color: "#61A0A8" color: "#61A0A8"
} },
smooth: true
}, },
{ {
name: "攻击请求数", name: "攻击请求数",
@@ -316,7 +321,8 @@ Tea.context(function () {
}, },
lineStyle: { lineStyle: {
color: "#F39494" color: "#F39494"
} },
smooth: true
} }
], ],
legend: { legend: {

View File

@@ -88,7 +88,8 @@ Tea.context(function () {
}, },
areaStyle: { areaStyle: {
color: "#9DD3E8" color: "#9DD3E8"
} },
smooth: true
} }
], ],
animation: true animation: true

View File

@@ -100,7 +100,8 @@ Tea.context(function () {
}, },
areaStyle: { areaStyle: {
color: "#9DD3E8" color: "#9DD3E8"
} },
smooth: true
}, },
{ {
name: "缓存流量", name: "缓存流量",
@@ -113,7 +114,8 @@ Tea.context(function () {
}, },
lineStyle: { lineStyle: {
color: "#61A0A8" color: "#61A0A8"
} },
smooth: true
}, },
{ {
name: "攻击流量", name: "攻击流量",
@@ -126,7 +128,8 @@ Tea.context(function () {
}, },
lineStyle: { lineStyle: {
color: "#F39494" color: "#F39494"
} },
smooth: true
} }
], ],
legend: { legend: {
@@ -239,7 +242,8 @@ Tea.context(function () {
}, },
areaStyle: { areaStyle: {
color: "#9DD3E8" color: "#9DD3E8"
} },
smooth: true
}, },
{ {
name: "缓存请求数", name: "缓存请求数",
@@ -252,7 +256,8 @@ Tea.context(function () {
}, },
areaStyle: { areaStyle: {
color: "#61A0A8" color: "#61A0A8"
} },
smooth: true
}, },
{ {
name: "攻击请求数", name: "攻击请求数",
@@ -265,7 +270,8 @@ Tea.context(function () {
}, },
lineStyle: { lineStyle: {
color: "#F39494" color: "#F39494"
} },
smooth: true
} }
], ],
legend: { legend: {

View File

@@ -97,7 +97,8 @@ Tea.context(function () {
color: "#879BD7" color: "#879BD7"
}, },
areaStyle: {}, areaStyle: {},
stack: "总量" stack: "总量",
smooth: true
}, },
{ {
name: name, name: name,
@@ -109,7 +110,8 @@ Tea.context(function () {
color: "#FBD88A" color: "#FBD88A"
}, },
areaStyle: {}, areaStyle: {},
stack: "总量" stack: "总量",
smooth: true
}, },
{ {
name: name, name: name,
@@ -121,7 +123,8 @@ Tea.context(function () {
color: "#F39494" color: "#F39494"
}, },
areaStyle: {}, areaStyle: {},
stack: "总量" stack: "总量",
smooth: true
} }
], ],
animation: true animation: true

View File

@@ -66,7 +66,8 @@ Tea.context(function () {
}, },
areaStyle: { areaStyle: {
color: "#9DD3E8" color: "#9DD3E8"
} },
smooth: true
} }
], ],
animation: false animation: false
@@ -124,7 +125,8 @@ Tea.context(function () {
}, },
areaStyle: { areaStyle: {
color: "#9DD3E8" color: "#9DD3E8"
} },
smooth: true
} }
], ],
animation: false animation: false

View File

@@ -113,7 +113,8 @@ Tea.context(function () {
}, },
areaStyle: { areaStyle: {
color: "#9DD3E8" color: "#9DD3E8"
} },
smooth: true
}, },
{ {
name: "缓存流量", name: "缓存流量",
@@ -126,7 +127,8 @@ Tea.context(function () {
}, },
areaStyle: { areaStyle: {
color: "#61A0A8" color: "#61A0A8"
} },
smooth: true
}, },
{ {
name: "攻击流量", name: "攻击流量",
@@ -139,7 +141,8 @@ Tea.context(function () {
}, },
lineStyle: { lineStyle: {
color: "#F39494" color: "#F39494"
} },
smooth: true
} }
], ],
legend: { legend: {
@@ -252,7 +255,8 @@ Tea.context(function () {
}, },
areaStyle: { areaStyle: {
color: "#9DD3E8" color: "#9DD3E8"
} },
smooth: true
}, },
{ {
name: "缓存请求数", name: "缓存请求数",
@@ -265,7 +269,8 @@ Tea.context(function () {
}, },
areaStyle: { areaStyle: {
color: "#61A0A8" color: "#61A0A8"
} },
smooth: true
}, },
{ {
name: "攻击请求数", name: "攻击请求数",
@@ -278,7 +283,8 @@ Tea.context(function () {
}, },
lineStyle: { lineStyle: {
color: "#F39494" color: "#F39494"
} },
smooth: true
} }
], ],
legend: { legend: {

View File

@@ -77,7 +77,8 @@ Tea.context(function () {
}, },
areaStyle: { areaStyle: {
color: "#9DD3E8" color: "#9DD3E8"
} },
smooth: true
}, },
{ {
name: "缓存请求数", name: "缓存请求数",
@@ -90,7 +91,8 @@ Tea.context(function () {
}, },
areaStyle: { areaStyle: {
color: "#61A0A8" color: "#61A0A8"
} },
smooth: true
} }
], ],
legend: { legend: {
@@ -149,7 +151,8 @@ Tea.context(function () {
}, },
areaStyle: { areaStyle: {
color: "#9DD3E8" color: "#9DD3E8"
} },
smooth: true
}, },
{ {
name: "缓存流量", name: "缓存流量",
@@ -162,7 +165,8 @@ Tea.context(function () {
}, },
areaStyle: { areaStyle: {
color: "#61A0A8" color: "#61A0A8"
} },
smooth: true
} }
], ],
legend: { legend: {

View File

@@ -77,7 +77,8 @@ Tea.context(function () {
}, },
areaStyle: { areaStyle: {
color: "#9DD3E8" color: "#9DD3E8"
} },
smooth: true
}, },
{ {
name: "缓存请求数", name: "缓存请求数",
@@ -90,7 +91,8 @@ Tea.context(function () {
}, },
areaStyle: { areaStyle: {
color: "#61A0A8" color: "#61A0A8"
} },
smooth: true
} }
], ],
legend: { legend: {
@@ -149,7 +151,8 @@ Tea.context(function () {
}, },
areaStyle: { areaStyle: {
color: "#9DD3E8" color: "#9DD3E8"
} },
smooth: true
}, },
{ {
name: "缓存流量", name: "缓存流量",
@@ -162,7 +165,8 @@ Tea.context(function () {
}, },
areaStyle: { areaStyle: {
color: "#61A0A8" color: "#61A0A8"
} },
smooth: true
} }
], ],
legend: { legend: {

View File

@@ -77,7 +77,8 @@ Tea.context(function () {
}, },
areaStyle: { areaStyle: {
color: "#9DD3E8" color: "#9DD3E8"
} },
smooth: true
}, },
{ {
name: "缓存请求数", name: "缓存请求数",
@@ -90,7 +91,8 @@ Tea.context(function () {
}, },
areaStyle: { areaStyle: {
color: "#61A0A8" color: "#61A0A8"
} },
smooth: true
} }
], ],
legend: { legend: {
@@ -149,7 +151,8 @@ Tea.context(function () {
}, },
areaStyle: { areaStyle: {
color: "#9DD3E8" color: "#9DD3E8"
} },
smooth: true
}, },
{ {
name: "缓存流量", name: "缓存流量",
@@ -162,7 +165,8 @@ Tea.context(function () {
}, },
areaStyle: { areaStyle: {
color: "#61A0A8" color: "#61A0A8"
} },
smooth: true
} }
], ],
legend: { legend: {

View File

@@ -80,7 +80,8 @@ Tea.context(function () {
areaStyle: {}, areaStyle: {},
itemStyle: { itemStyle: {
color: "#9DD3E8" color: "#9DD3E8"
} },
smooth: true
}, },
{ {
name: name, name: name,
@@ -90,7 +91,8 @@ Tea.context(function () {
}), }),
itemStyle: { itemStyle: {
color: "#879BD7" color: "#879BD7"
} },
smooth: true
}, },
{ {
name: name, name: name,
@@ -100,7 +102,8 @@ Tea.context(function () {
}), }),
itemStyle: { itemStyle: {
color: "#F39494" color: "#F39494"
} },
smooth: true
}, },
{ {
name: name, name: name,
@@ -110,7 +113,8 @@ Tea.context(function () {
}), }),
itemStyle: { itemStyle: {
color: "#FBD88A" color: "#FBD88A"
} },
smooth: true
} }
], ],
animation: true animation: true