wang_xy %!s(int64=2) %!d(string=hai) anos
pai
achega
75f48fe3a7
Modificáronse 1 ficheiros con 9 adicións e 0 borrados
  1. 9 0
      src/views/datacenter.vue

+ 9 - 0
src/views/datacenter.vue

@@ -186,6 +186,15 @@ export default {
           width: '75%',
           containLabel: true
         },
+        dataZoom: [{
+          show: true,
+          type: 'slider',
+          yAxisIndex: 0,
+          left: 0,
+          start: 0,
+          end: this.source.length > 8 ? 8 : 100,
+          width: 15
+        }],
         xAxis: {
           show: false,
           type: 'value'