Bläddra i källkod

综合统计报修来源颜色修复

maotao 1 månad sedan
förälder
incheckning
34a256c854

+ 14 - 14
src/app/views/new-statistics/maintenance-statistics/synthesize-statistics/synthesize-statistics.component.ts

@@ -111,20 +111,20 @@ export class SynthesizeStatisticsComponent implements OnInit {
111 111
 									show: true,
112 112
 									formatter: '{b}: {c} {d}%'  
113 113
 							},
114
-				      itemStyle: {
115
-				        normal: {
116
-				          //每根柱子颜色设置
117
-				          color: function (params) {
118
-				            let colorList = [
119
-				              "#33CC85",
120
-				              "#72C0DD",
121
-				              "#FAC958",
122
-											"#546FC6",
123
-				            ];
124
-				            return colorList[params.dataIndex];
125
-				          },
126
-				        },
127
-				      },
114
+				      // itemStyle: {
115
+				      //   normal: {
116
+				      //     //每根柱子颜色设置
117
+				      //     color: function (params) {
118
+				      //       let colorList = [
119
+				      //         "#33CC85",
120
+				      //         "#72C0DD",
121
+				      //         "#FAC958",
122
+										// 	"#546FC6",
123
+				      //       ];
124
+				      //       return colorList[params.dataIndex];
125
+				      //     },
126
+				      //   },
127
+				      // },
128 128
 				    },
129 129
 				  ],
130 130
 				};