|
@@ -36,6 +36,7 @@ export default (props) => {
|
36
|
36
|
left: '3%',
|
37
|
37
|
right: '4%',
|
38
|
38
|
bottom: '3%',
|
|
39
|
+ width: '290px',
|
39
|
40
|
containLabel: true
|
40
|
41
|
},
|
41
|
42
|
xAxis: [
|
|
@@ -47,7 +48,8 @@ export default (props) => {
|
47
|
48
|
],
|
48
|
49
|
yAxis: [
|
49
|
50
|
{
|
50
|
|
- type: 'value'
|
|
51
|
+ type: 'value',
|
|
52
|
+ minInterval: 1
|
51
|
53
|
}
|
52
|
54
|
],
|
53
|
55
|
series: [
|
|
@@ -108,6 +110,7 @@ export default (props) => {
|
108
|
110
|
left: '3%',
|
109
|
111
|
right: '4%',
|
110
|
112
|
bottom: '3%',
|
|
113
|
+ width: '290px',
|
111
|
114
|
containLabel: true
|
112
|
115
|
},
|
113
|
116
|
xAxis: [
|
|
@@ -116,6 +119,7 @@ export default (props) => {
|
116
|
119
|
boundaryGap: false,
|
117
|
120
|
data: ['已处理', '未处理', '逾期'],
|
118
|
121
|
boundaryGap: true,
|
|
122
|
+ name: '状态',
|
119
|
123
|
axisTick: {
|
120
|
124
|
alignWithLabel: true,
|
121
|
125
|
}
|
|
@@ -123,12 +127,15 @@ export default (props) => {
|
123
|
127
|
],
|
124
|
128
|
yAxis: [
|
125
|
129
|
{
|
126
|
|
- type: 'value'
|
|
130
|
+ type: 'value',
|
|
131
|
+ minInterval: 1,
|
|
132
|
+ name: '交办次数'
|
127
|
133
|
}
|
128
|
134
|
],
|
129
|
135
|
series: [
|
130
|
136
|
{
|
131
|
137
|
type: 'bar',
|
|
138
|
+ barWidth: '20%',
|
132
|
139
|
itemStyle: {
|
133
|
140
|
color: new echarts.graphic.LinearGradient(0, 0, 0, 1, [
|
134
|
141
|
{ offset: 0, color: '#F772D1' },
|
|
@@ -168,6 +175,7 @@ export default (props) => {
|
168
|
175
|
left: '3%',
|
169
|
176
|
right: '4%',
|
170
|
177
|
bottom: '3%',
|
|
178
|
+ width: '290px',
|
171
|
179
|
containLabel: true
|
172
|
180
|
},
|
173
|
181
|
xAxis: [
|
|
@@ -178,17 +186,23 @@ export default (props) => {
|
178
|
186
|
boundaryGap: true,
|
179
|
187
|
axisTick: {
|
180
|
188
|
alignWithLabel: true,
|
|
189
|
+ },
|
|
190
|
+ axisLabel: {
|
|
191
|
+ interval: 0,
|
|
192
|
+ rotate: 40
|
181
|
193
|
}
|
182
|
194
|
}
|
183
|
195
|
],
|
184
|
196
|
yAxis: [
|
185
|
197
|
{
|
186
|
|
- type: 'value'
|
|
198
|
+ type: 'value',
|
|
199
|
+ minInterval: 1
|
187
|
200
|
}
|
188
|
201
|
],
|
189
|
202
|
series: [
|
190
|
203
|
{
|
191
|
204
|
type: 'bar',
|
|
205
|
+ barWidth: '20%',
|
192
|
206
|
itemStyle: {
|
193
|
207
|
color: new echarts.graphic.LinearGradient(0, 0, 0, 1, [
|
194
|
208
|
{ offset: 0, color: '#FB9900' },
|
|
@@ -222,7 +236,7 @@ export default (props) => {
|
222
|
236
|
<ec-canvas canvasId="mychart-bar" ec={ec2}></ec-canvas>
|
223
|
237
|
</view>
|
224
|
238
|
<view class="container">
|
225
|
|
- <ec-canvas canvasId="mychart-bar" ec={ec3}></ec-canvas>
|
|
239
|
+ <ec-canvas canvasId="mychart-bar2" ec={ec3}></ec-canvas>
|
226
|
240
|
</view>
|
227
|
241
|
</Page>
|
228
|
242
|
)
|