From 47b8a4658a22f540e7a80ecdd690e6634d434c01 Mon Sep 17 00:00:00 2001 From: yyhouc <792163605@qq.com> Date: Mon, 15 May 2023 11:48:39 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E5=A4=8D=E6=8E=A7=E5=88=B6=E5=8F=B0?= =?UTF-8?q?=E9=A1=B5=E9=9D=A2=20=E6=98=BE=E7=A4=BA=E4=B8=8D=E5=AE=8C?= =?UTF-8?q?=E6=95=B4?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/views/home/index.vue | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/src/views/home/index.vue b/src/views/home/index.vue index b5ec45f..53fafe4 100644 --- a/src/views/home/index.vue +++ b/src/views/home/index.vue @@ -252,6 +252,9 @@ const initLineChart = (xData,data1, data2) => { type: 'value', name: 'initiate', splitLine: { show: true, lineStyle: { type: 'dashed', color: '#f5f5f5' } }, + nameTextStyle: { + padding: [0, 40, 0, 0] // 上右下左 + }, } ], series: [ @@ -318,6 +321,9 @@ const initLineVandDChart = (xData,data1, data2) => { type: 'value', name: 'download', splitLine: { show: true, lineStyle: { type: 'dashed', color: '#f5f5f5' } }, + nameTextStyle: { + padding: [0, 40, 0, 0] // 上右下左 + }, } ], series: [