fangmingyue 2 years ago
parent
commit
bf18e09250
1 changed files with 7 additions and 18 deletions
  1. 7
    18
      src/pages/statistics/index.jsx

+ 7
- 18
src/pages/statistics/index.jsx View File

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