From 4b695b932a336553679c6745f9f60b41c9615bf3 Mon Sep 17 00:00:00 2001 From: d266377 Date: Mon, 2 Feb 2026 14:08:56 +0800 Subject: [PATCH] =?UTF-8?q?=E6=80=81=E5=8A=BF=E6=84=9F=E7=9F=A5=E5=B9=B3?= =?UTF-8?q?=E5=8F=B0-=E5=BC=80=E6=BA=90=E7=94=9F=E6=80=81=E4=B8=8E?= =?UTF-8?q?=E8=B4=A1=E7=8C=AE=E4=BB=B7=E5=80=BC=E5=85=A8=E6=99=AF-?= =?UTF-8?q?=E5=9F=BA=E7=A1=80=E8=AE=BE=E6=96=BD=E8=A6=86=E7=9B=96=E7=8E=87?= =?UTF-8?q?=E6=B3=A8=E9=87=8A=E6=A0=B7=E5=BC=8F=E4=BF=AE=E6=94=B9?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../components/InfrastructureCoverageChart.vue | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/src/views/Jyh/ecosystem/components/InfrastructureCoverageChart.vue b/src/views/Jyh/ecosystem/components/InfrastructureCoverageChart.vue index 413d8ca..9cdac08 100644 --- a/src/views/Jyh/ecosystem/components/InfrastructureCoverageChart.vue +++ b/src/views/Jyh/ecosystem/components/InfrastructureCoverageChart.vue @@ -125,7 +125,7 @@ const initInfrastructureChart = () => { chartInstances.value.infrastructureChart = myChart; const seriesData: any[] = []; - const center = ['50%', '50%']; + const center = ['50%', '55%']; infrastructureData.value.forEach(item => { const completeValue = item.value; @@ -222,12 +222,12 @@ const initInfrastructureChart = () => { color: d.color } })), - orient: 'vertical', - right: '5%', - top: 'center', + orient: 'horizontal', + top: '3%', + left: 'center', itemWidth: 12, // 图例方块宽度 itemHeight: 12, // 图例方块高度 - itemGap: 15, // 图例项之间的间距 + itemGap: 20, // 图例项之间的间距 icon: 'circle', // 图例形状:'circle'圆形, 'rect'方形, 'roundRect'圆角方形 textStyle: { color: '#333', @@ -239,7 +239,7 @@ const initInfrastructureChart = () => { { type: 'text', left: 'center', - top: '45%', + top: '50%', style: { text: '总覆盖度', fill: '#666', @@ -250,7 +250,7 @@ const initInfrastructureChart = () => { { type: 'text', left: 'center', - top: '52%', + top: '57%', style: { text: `${avgCoverage}%`, fill: '#3b82f6',