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

+ 9 - 0
src/views/datacenter.vue

@@ -205,6 +205,15 @@ export default {
           trigger: 'item'
 
         },
+        dataZoom: [{
+          show: true,
+          type: 'slider',
+          yAxisIndex: 0,
+          left: 0,
+          start: 0,
+          end: this.source.length > 8 ? 8 : 100,
+          width: 15
+        }],
         grid: {
           top: '5%',
           left: '2%',