From fcfa2a85d3cba9a405b493ebd936ae29e91a236a Mon Sep 17 00:00:00 2001 From: xy <271556543@qq.com> Date: Tue, 12 Nov 2024 17:39:53 +0800 Subject: [PATCH] =?UTF-8?q?=E9=A6=96=E9=A1=B53d=E6=9F=B1=E7=8A=B6=E5=9B=BE?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/views/dashboard/index.vue | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/src/views/dashboard/index.vue b/src/views/dashboard/index.vue index dbe7ec3..dd5c00b 100644 --- a/src/views/dashboard/index.vue +++ b/src/views/dashboard/index.vue @@ -617,7 +617,7 @@ export default { type: 'bar', barWidth: barWidth, name: `${this.carrySelect.month}计划`, - barGap: "90%", //相邻柱子间距 + barGap: "54%", //相邻柱子间距 itemStyle: { borderRadius: [0, 0, 0, 0],//柱子四周圆角 color: color1//柱子左右颜色(深,浅) @@ -639,7 +639,7 @@ export default { type: "pictorialBar", data: constData1,//此数据对应底部组件 symbol: "diamond",//底部组件形状,不写默认为椭圆 - symbolOffset: ["-190%", "50%"],//与柱子的偏移角度 + symbolOffset: ["-154%", "50%"],//与柱子的偏移角度 symbolSize: [barWidth, 10],//底面[宽,高] itemStyle: { normal: { @@ -657,7 +657,7 @@ export default { symbolPosition: "end", data: showData1,//此数据对应顶部组件 symbol: "diamond", - symbolOffset: ["-230%", "-50%"], + symbolOffset: ["-184%", "-50%"], symbolSize: [barWidth - 4, (10 * (barWidth - 4)) / barWidth], itemStyle: { normal: { @@ -753,7 +753,7 @@ export default { type: "pictorialBar", data: constData3, symbol: "diamond", - symbolOffset: ["192%", "50%"], + symbolOffset: ["154%", "50%"], symbolSize: [barWidth, 10], itemStyle: { normal: { @@ -771,7 +771,7 @@ export default { symbolPosition: "end", data: showData3, symbol: "diamond", - symbolOffset: ["233%", "-50%"], + symbolOffset: ["191%", "-50%"], symbolSize: [barWidth - 4, (10 * (barWidth - 4)) / barWidth], itemStyle: { normal: {