Browse Source

bug修改

1004749546@qq.com 4 năm trước cách đây
mục cha
commit
20e9cd4817
1 tập tin đã thay đổi với 3 bổ sung1 xóa
  1. 3 1
      src/views/dataView/borard.vue

+ 3 - 1
src/views/dataView/borard.vue

@@ -759,6 +759,7 @@ export default {
         xAxis: {
           name: '时',
           type: 'category',
+		  boundaryGap: false, // 两边是否留白
           data: res.hourKey,
           nameTextStyle: {
             color: '#666'
@@ -815,6 +816,7 @@ export default {
           name: '日期',
           data: xData,
           type: 'category',
+		  boundaryGap: false, // 两边是否留白
           nameTextStyle: {
             color: '#666'
           },
@@ -825,7 +827,7 @@ export default {
           }
         },
         yAxis: {
-          name: '用户',
+          name: '',
           type: 'value',
           nameTextStyle: {
             color: '#666'