From c5842886b876f20d4411d9da4d8b3b4fef0c39a7 Mon Sep 17 00:00:00 2001 From: value <z1292839451@163.com> Date: 星期一, 29 四月 2024 02:25:27 +0800 Subject: [PATCH] 检验项目绑定产品,检验对象绑定产品 --- src/util/echarts.js | 22 ++++++++++++---------- 1 files changed, 12 insertions(+), 10 deletions(-) diff --git a/src/util/echarts.js b/src/util/echarts.js index 0842962..e2ce7bd 100644 --- a/src/util/echarts.js +++ b/src/util/echarts.js @@ -30,16 +30,16 @@ }, }, grid: { - top: '5%', - left: '7%', + top: '25px', + left: '40px', right: '3%', - bottom: '7%', + bottom: '40px', // containLabel: true }, legend: { show: true, orient: 'horizontal', - y:-5, + y:-2, right:15, itemWidth: 12, itemHeight: 12, @@ -69,6 +69,7 @@ }], yAxis: [{ + minInterval:1, type: 'value', min: 0, splitNumber: 4, @@ -83,7 +84,7 @@ }, axisLabel: { color: 'rgba(43,48,52, 0.4)', - margin: 30 + margin: 20, }, axisTick: { show: false, @@ -138,10 +139,10 @@ }, }, grid: { - top: '5%', - left: '7%', - right: '2%', - bottom: '7%', + top: '25px', + left: '40px', + right: '3%', + bottom: '40px', // containLabel: true }, xAxis: [{ @@ -164,6 +165,7 @@ }], yAxis: [{ + minInterval:1, type: 'value', min: 0, splitNumber: 4, @@ -178,7 +180,7 @@ }, axisLabel: { color: 'rgba(43,48,52, 0.4)', - margin: 30 + margin: 20, }, axisTick: { show: false, -- Gitblit v1.9.3