db0ad9b0 by yangwei

监控统计图表配色修改

1 parent 81ddcd9f
...@@ -56,7 +56,7 @@ export default { ...@@ -56,7 +56,7 @@ export default {
56 name: "jktj", 56 name: "jktj",
57 data () { 57 data () {
58 return { 58 return {
59 // 开始结束日期限制 59 // 开始日期限制
60 pickerOptionsStart: { 60 pickerOptionsStart: {
61 disabledDate: (time) => { 61 disabledDate: (time) => {
62 if (this.form.endTime) { 62 if (this.form.endTime) {
......
...@@ -74,7 +74,7 @@ export default { ...@@ -74,7 +74,7 @@ export default {
74 name: "jktj", 74 name: "jktj",
75 data () { 75 data () {
76 return { 76 return {
77 // 开始结束日期限制 77 // 开始日期限制
78 pickerOptionsStart: { 78 pickerOptionsStart: {
79 disabledDate: (time) => { 79 disabledDate: (time) => {
80 if (this.form.endTime) { 80 if (this.form.endTime) {
...@@ -141,7 +141,7 @@ export default { ...@@ -141,7 +141,7 @@ export default {
141 let myChart = this.$echarts.init(document.getElementById("myChart")); 141 let myChart = this.$echarts.init(document.getElementById("myChart"));
142 // 绘制图表 142 // 绘制图表
143 myChart.setOption({ 143 myChart.setOption({
144 color: ["#fff", "#ff6e6e", "#3f99ff", "#ffaf48"], 144 color: ["#13E5FF", "#C99E68", "#E873B2", "#ffaf48"],
145 tooltip: { 145 tooltip: {
146 trigger: "axis", 146 trigger: "axis",
147 formatter: '{b}<br/>{a0}:{c0}个<br/>{a1}:{c1}个<br/>{a2}:{c2}%', 147 formatter: '{b}<br/>{a0}:{c0}个<br/>{a1}:{c1}个<br/>{a2}:{c2}%',
......
...@@ -74,7 +74,7 @@ export default { ...@@ -74,7 +74,7 @@ export default {
74 name: "jktj", 74 name: "jktj",
75 data () { 75 data () {
76 return { 76 return {
77 // 开始结束日期限制 77 // 开始日期限制
78 pickerOptionsStart: { 78 pickerOptionsStart: {
79 disabledDate: (time) => { 79 disabledDate: (time) => {
80 if (this.form.endTime) { 80 if (this.form.endTime) {
...@@ -136,7 +136,7 @@ export default { ...@@ -136,7 +136,7 @@ export default {
136 let myChart = this.$echarts.init(document.getElementById("myChart")); 136 let myChart = this.$echarts.init(document.getElementById("myChart"));
137 // 绘制图表 137 // 绘制图表
138 myChart.setOption({ 138 myChart.setOption({
139 color: ["#00bdb1", "#ff6e6e", "#3f99ff", "#ffaf48"], 139 color: ["#13E5FF"],
140 tooltip: { 140 tooltip: {
141 show: true, 141 show: true,
142 trigger: "axis", 142 trigger: "axis",
......