@@ -316,12 +316,21 @@ export default {
},
grid: {
top: '5%',
- left: '2%',
+ left: '5%',
// right: "4%",
- bottom: '-15%',
+ bottom: '0%',
width: '75%',
containLabel: true
+ dataZoom: [{
+ show:true,
+ type: 'slider',
+ yAxisIndex:0,
+ left:10,
+ start: 0,
+ end: this.sourceData.length > 10 ? 40 : 100,
+ width:15
+ }],
xAxis: {
show: false,
type: 'value'