|
@@ -93,8 +93,8 @@ export default {
|
|
|
},
|
|
},
|
|
|
legend: {
|
|
legend: {
|
|
|
orient: 'vertical',
|
|
orient: 'vertical',
|
|
|
- right: '10',
|
|
|
|
|
- top: 'center'
|
|
|
|
|
|
|
+ right: '5',
|
|
|
|
|
+ top: 'top'
|
|
|
},
|
|
},
|
|
|
grid: {
|
|
grid: {
|
|
|
left: '2%',
|
|
left: '2%',
|
|
@@ -105,7 +105,11 @@ export default {
|
|
|
xAxis: {
|
|
xAxis: {
|
|
|
type: 'value',
|
|
type: 'value',
|
|
|
name: '任务数量(项)',
|
|
name: '任务数量(项)',
|
|
|
- boundaryGap: [0, 0]
|
|
|
|
|
|
|
+ axisLabel: {
|
|
|
|
|
+ formatter: function (v) {
|
|
|
|
|
+ return parseInt(v)//表示整数。其他数值类型以此类推
|
|
|
|
|
+ }
|
|
|
|
|
+ }
|
|
|
},
|
|
},
|
|
|
yAxis: {
|
|
yAxis: {
|
|
|
type: 'category',
|
|
type: 'category',
|
|
@@ -153,6 +157,19 @@ export default {
|
|
|
valueAnimation: true
|
|
valueAnimation: true
|
|
|
}
|
|
}
|
|
|
}
|
|
}
|
|
|
|
|
+ ],
|
|
|
|
|
+ dataZoom: [
|
|
|
|
|
+ {
|
|
|
|
|
+ type: 'inside',
|
|
|
|
|
+ xAxisIndex: 0,
|
|
|
|
|
+ filterMode: 'filter'
|
|
|
|
|
+ },
|
|
|
|
|
+ {
|
|
|
|
|
+ type: 'inside',
|
|
|
|
|
+ left: 'left',
|
|
|
|
|
+ yAxisIndex: 0,
|
|
|
|
|
+ filterMode: 'none'
|
|
|
|
|
+ }
|
|
|
]
|
|
]
|
|
|
},
|
|
},
|
|
|
setParams: {},
|
|
setParams: {},
|
|
@@ -390,13 +407,8 @@ export default {
|
|
|
.chart {
|
|
.chart {
|
|
|
width: 95%;
|
|
width: 95%;
|
|
|
height: 800px;
|
|
height: 800px;
|
|
|
- // padding-right: 20px;
|
|
|
|
|
}
|
|
}
|
|
|
|
|
|
|
|
-// #echart-line {
|
|
|
|
|
-// margin-right: 10px;
|
|
|
|
|
-// }
|
|
|
|
|
-
|
|
|
|
|
.jbd-title-cont {
|
|
.jbd-title-cont {
|
|
|
text-align: center;
|
|
text-align: center;
|
|
|
font-weight: bold;
|
|
font-weight: bold;
|