浏览代码

优化首页温度监测图形显示效果

yanglzh 2 年之前
父节点
当前提交
c909b29f79
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 1 1
      src/views/heating/home/index.vue

+ 1 - 1
src/views/heating/home/index.vue

@@ -299,7 +299,7 @@ export default defineComponent({
             color: state.charts.color,
           },
         },
-        grid: { top: 80, bottom: 30 },
+        grid: { top: 60, bottom: 20, left: 30, right: 30, containLabel: true },
         // calculable: true,
         xAxis: [{ data: state.statisticsChartXAxisData }],
         yAxis: [