From 276849adaf8fb9faff15c64f88e5abfbced5daa6 Mon Sep 17 00:00:00 2001
From: guanqb <18720758508@163.com>
Date: Sun, 07 May 2023 18:29:12 +0800
Subject: [PATCH] 1
---
src/views/home/components/leftContainer.vue | 86 ++++++++++++++++++++++--------------------
1 files changed, 45 insertions(+), 41 deletions(-)
diff --git a/src/views/home/components/leftContainer.vue b/src/views/home/components/leftContainer.vue
index 080d7e4..ba47308 100644
--- a/src/views/home/components/leftContainer.vue
+++ b/src/views/home/components/leftContainer.vue
@@ -463,7 +463,7 @@
})
}
- homePersonmyChart.setOption(this.initPersonOptions(xDate, yDate1, yDate2, ['#53eefe', '#51d5f1', '#133d6b'], ['#8b25c1', '#b81fee', '#421784']))
+ homePersonmyChart.setOption(this.initPersonOptions(xDate, yDate1, yDate2, ['#53eefe'], ['#8b25c1', '#b81fee', '#421784']))
},
/**
@@ -549,28 +549,30 @@
},
itemStyle: {
normal: {
- color: function (params) {
- return new global.echarts.graphic.LinearGradient(
- 0, 0, 0, 1,
- [
- { offset: 0, color: colors1[0] },
- { offset: 0.5, color: colors1[1] },
- { offset: 1, color: colors1[2] },
- ]
- )
- }
+ color: colors1[0]
+ // color: function (params) {
+ // return new global.echarts.graphic.LinearGradient(
+ // 0, 0, 0, 1,
+ // [
+ // { offset: 0, color: colors1[0] },
+ // { offset: 0.5, color: colors1[1] },
+ // { offset: 1, color: colors1[2] },
+ // ]
+ // )
+ // }
},
emphasis: {
- color: function (params) {
- return new global.echarts.graphic.LinearGradient(
- 0, 0, 0, 1,
- [
- { offset: 0, color: colors1[2] },
- { offset: 0.7, color: colors1[1] },
- { offset: 1, color: colors1[0] }
- ]
- )
- }
+ color: colors1[0]
+ // color: function (params) {
+ // return new global.echarts.graphic.LinearGradient(
+ // 0, 0, 0, 1,
+ // [
+ // { offset: 0, color: colors1[2] },
+ // { offset: 0.7, color: colors1[1] },
+ // { offset: 1, color: colors1[0] }
+ // ]
+ // )
+ // }
}
},
},
@@ -586,28 +588,30 @@
},
itemStyle: {
normal: {
- color: function (params) {
- return new global.echarts.graphic.LinearGradient(
- 0, 0, 0, 1,
- [
- { offset: 0, color: colors2[2] },
- { offset: 0.5, color: colors2[1] },
- { offset: 1, color: colors2[0] },
- ]
- )
- }
+ color: colors2[0]
+ // color: function (params) {
+ // return new global.echarts.graphic.LinearGradient(
+ // 0, 0, 0, 1,
+ // [
+ // { offset: 0, color: colors2[2] },
+ // { offset: 0.5, color: colors2[1] },
+ // { offset: 1, color: colors2[0] },
+ // ]
+ // )
+ // }
},
emphasis: {
- color: function (params) {
- return new global.echarts.graphic.LinearGradient(
- 0, 0, 0, 1,
- [
- { offset: 0, color: colors2[0] },
- { offset: 0.7, color: colors2[1] },
- { offset: 1, color: colors2[2] }
- ]
- )
- }
+ color: colors2[0]
+ // color: function (params) {
+ // return new global.echarts.graphic.LinearGradient(
+ // 0, 0, 0, 1,
+ // [
+ // { offset: 0, color: colors2[0] },
+ // { offset: 0.7, color: colors2[1] },
+ // { offset: 1, color: colors2[2] }
+ // ]
+ // )
+ // }
}
},
},
--
Gitblit v1.9.3