fangmingyue 2 år sedan
förälder
incheckning
bf18e09250
1 ändrade filer med 7 tillägg och 18 borttagningar
  1. 7
    18
      src/pages/statistics/index.jsx

+ 7
- 18
src/pages/statistics/index.jsx Visa fil

@@ -23,17 +23,8 @@ export default (props) => {
23 23
       title: {
24 24
         text: '上报统计'
25 25
       },
26
-      tooltip: {
27
-        trigger: 'axis',
28
-        axisPointer: {
29
-          type: 'cross',
30
-          label: {
31
-            backgroundColor: '#0A9071'
32
-          }
33
-        }
34
-      },
35 26
       grid: {
36
-        left: '3%',
27
+        left: '6%',
37 28
         right: '4%',
38 29
         bottom: '3%',
39 30
         width: '290px',
@@ -54,7 +45,6 @@ export default (props) => {
54 45
       ],
55 46
       series: [
56 47
         {
57
-          name: 'Line 1',
58 48
           type: 'line',
59 49
           stack: 'Total',
60 50
           smooth: true,
@@ -63,8 +53,8 @@ export default (props) => {
63 53
           },
64 54
           showSymbol: false,
65 55
           areaStyle: {
66
-            opacity: 0.8,
67
-            color: new echarts.graphic.LinearGradient(0, 0, 0, 1, [
56
+            opacity: 1,
57
+            color: new echarts.graphic.LinearGradient(0, 0, 0, 1.1, [
68 58
               {
69 59
                 offset: 0,
70 60
                 color: '#0A9071'
@@ -107,10 +97,9 @@ export default (props) => {
107 97
         text: '交办统计'
108 98
       },
109 99
       grid: {
110
-        left: '3%',
111
-        right: '4%',
100
+        left: '6%',
112 101
         bottom: '3%',
113
-        width: '290px',
102
+        width: '275px',
114 103
         containLabel: true
115 104
       },
116 105
       xAxis: [
@@ -135,7 +124,7 @@ export default (props) => {
135 124
       series: [
136 125
         {
137 126
           type: 'bar',
138
-          barWidth: '20%',
127
+          barWidth: '15%',
139 128
           itemStyle: {
140 129
             color: new echarts.graphic.LinearGradient(0, 0, 0, 1, [
141 130
               { offset: 0, color: '#F772D1' },
@@ -172,7 +161,7 @@ export default (props) => {
172 161
         text: '问题分类'
173 162
       },
174 163
       grid: {
175
-        left: '3%',
164
+        left: '6%',
176 165
         right: '4%',
177 166
         bottom: '3%',
178 167
         width: '290px',