Zimo 13 ore în urmă
părinte
comite
615ec569c2

+ 5 - 4
src/views/oli-connection/monitoring/detail.vue

@@ -380,10 +380,10 @@ function render() {
     animationDurationUpdate: 200,
     animationEasingUpdate: 'linear',
     grid: {
-      left: '5%',
+      left: '0%',
       top: '5%',
       right: '5%',
-      bottom: '8%'
+      bottom: '12%'
     },
     tooltip: {
       trigger: 'axis',
@@ -410,6 +410,7 @@ function render() {
     },
     xAxis: {
       type: 'time',
+      boundaryGap: ['0%', '25%'],
       axisLabel: {
         formatter: (v) => dayjs(v).format('YYYY-MM-DD\nHH:mm:ss'),
         rotate: 0,
@@ -417,8 +418,8 @@ function render() {
       }
     },
     dataZoom: [
-      { type: 'inside', xAxisIndex: 0, start: 75, end: 100 },
-      { type: 'slider', xAxisIndex: 0, start: 75, end: 100 }
+      { type: 'inside', xAxisIndex: 0 },
+      { type: 'slider', xAxisIndex: 0 }
     ],
     yAxis: {
       type: 'value',

+ 3 - 3
src/views/pms/device/monitor/TdDeviceInfo.vue

@@ -295,7 +295,7 @@ function render() {
       left: '5%',
       top: '5%',
       right: '5%',
-      bottom: '8%'
+      bottom: '12%'
     },
     tooltip: {
       trigger: 'axis',
@@ -329,8 +329,8 @@ function render() {
       }
     },
     dataZoom: [
-      { type: 'inside', xAxisIndex: 0, start: 75, end: 100 },
-      { type: 'slider', xAxisIndex: 0, start: 75, end: 100 }
+      { type: 'inside', xAxisIndex: 0 },
+      { type: 'slider', xAxisIndex: 0 }
     ],
     yAxis: {
       type: 'value',