瀏覽代碼

fix: 优化数据分析页面图形两侧预留宽度

yanglzh 1 年之前
父節點
當前提交
5e8150ad53
共有 1 個文件被更改,包括 1 次插入1 次删除
  1. 1 1
      src/components/chart/options.ts

+ 1 - 1
src/components/chart/options.ts

@@ -359,7 +359,7 @@ export function getLineOption({
       trigger: 'axis',
     },
     legend: { left: 'center', top: 0, data: legend },
-    grid: { top: 30, bottom: 0, left: 20, right: 20, containLabel: true },
+    grid: { top: 30, bottom: 0, left: 35, right: 30, containLabel: true },
     color: ['rgb(6, 176, 60)', 'rgb(253, 109, 90)'],
     xAxis: {
       type: 'category',