Эх сурвалжийг харах

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

yanglzh 1 жил өмнө
parent
commit
5e8150ad53

+ 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',