浏览代码

bug修改

1004749546@qq.com 4 年之前
父节点
当前提交
20e9cd4817
共有 1 个文件被更改,包括 3 次插入1 次删除
  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'