彭宇 1 gadu atpakaļ
vecāks
revīzija
522483330e
1 mainītis faili ar 3 papildinājumiem un 20 dzēšanām
  1. 3 20
      src/views/bigdata/chart-weatherStation.vue

+ 3 - 20
src/views/bigdata/chart-weatherStation.vue

@@ -95,30 +95,13 @@
 				          }
 				      ],
 
-				      series: [{
-				              name: "受理数", // bar图的外边框
-				              type: "bar",
-				              barWidth: "20%",
-				              yAxisIndex: 0,
-				              data: [500, 500, 500, 500, 500].map((item, i) => {
-				                  return {
-				                      value: item,
-				                      itemStyle: {
-				                          color: "rgba(0,0,0,0)",
-				                          barBorderColor: zdslColorList[i],
-				                          borderWidth: 1,
-				                          shadowColor: "#33CCFF",
-				                          shadowBlur: 4
-				                      }
-				                  }
-				              }),
-				          },
+				      series: [
 				          {
-				              name: "受理数", //这个是Bar图
+				              name: "气象站", //这个是Bar图
 				              type: 'bar',
 				              yAxisIndex: 1,
 				              barWidth: "10%",
-				              data: [150, 298, 206, 75, 154]
+				              data: that.data_value
 				          }
 				      ],
 				      itemStyle: {