修改颜色

master
夜笙歌 2 years ago
parent 706794d7ce
commit 234d9584cb

@ -2011,10 +2011,10 @@ const loss = (res, ids) => {
let sum = 0; let sum = 0;
let barTopColor = [ let barTopColor = [
"rgba(10,50,220)", "#55F675",
]; ];
let barBottomColor = [ let barBottomColor = [
"rgba(40,140,210)", "#55F675",
]; ];
let Res = let Res =
{ {
@ -2265,7 +2265,7 @@ const equipmentFailure = (res, ids) => {
itemStyle: { itemStyle: {
normal: { normal: {
color: function (params) { color: function (params) {
return "rgba(10,50,220)"; return "#B78E45";
}, },
}, },
}, },
@ -2282,11 +2282,11 @@ const equipmentFailure = (res, ids) => {
return new echarts.graphic.LinearGradient(1, 0, 0, 0, [ return new echarts.graphic.LinearGradient(1, 0, 0, 0, [
{ {
offset: 1, offset: 1,
color: "rgba(10,50,220)", color: "#DE9405",
}, },
{ {
offset: 0, offset: 0,
color: "rgba(40,140,210)", color: "#B78E45",
}, },
]); ]);
}, },

@ -2011,10 +2011,10 @@ const loss = (res, ids) => {
let sum = 0; let sum = 0;
let barTopColor = [ let barTopColor = [
"rgba(10,50,220)", "#55F675",
]; ];
let barBottomColor = [ let barBottomColor = [
"rgba(40,140,210)", "#55F675",
]; ];
let Res = let Res =
{ {
@ -2265,7 +2265,7 @@ const equipmentFailure = (res, ids) => {
itemStyle: { itemStyle: {
normal: { normal: {
color: function (params) { color: function (params) {
return "rgba(10,50,220)"; return "#B78E45";
}, },
}, },
}, },
@ -2282,11 +2282,11 @@ const equipmentFailure = (res, ids) => {
return new echarts.graphic.LinearGradient(1, 0, 0, 0, [ return new echarts.graphic.LinearGradient(1, 0, 0, 0, [
{ {
offset: 1, offset: 1,
color: "rgba(10,50,220)", color: "#DE9405",
}, },
{ {
offset: 0, offset: 0,
color: "rgba(40,140,210)", color: "#B78E45",
}, },
]); ]);
}, },

Loading…
Cancel
Save