From d8592611b67ce2235b889ac7036177e969494d72 Mon Sep 17 00:00:00 2001 From: lb Date: Wed, 23 Nov 2022 17:00:25 +0800 Subject: [PATCH] =?UTF-8?q?update=20=E7=BC=BA=E9=99=B7=E5=88=86=E6=9E=90?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../components/RightContentFaultAnalysis.vue | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/src/views/3DOverview/components/RightContentFaultAnalysis.vue b/src/views/3DOverview/components/RightContentFaultAnalysis.vue index d07bcc1..5abfcd8 100644 --- a/src/views/3DOverview/components/RightContentFaultAnalysis.vue +++ b/src/views/3DOverview/components/RightContentFaultAnalysis.vue @@ -106,8 +106,8 @@ export default { configs: { title: { textAlign: 'center', - left: '64%', - top: '48%', + left: '67%', + top: '50%', text: demoData.reduce((prev, curr) => prev + curr.value, 0), textStyle: { color: '#fff', @@ -210,7 +210,7 @@ export default { { name: 'PieForm', type: 'pie', - center: ['65%', '60%'], + center: ['68%', '61%'], radius: ['42%', '60%'], avoidLabelOverlap: true, label: { @@ -326,11 +326,11 @@ export default { this.configs.legend.textStyle.rich.g.height = fs8 this.configs.legend.textStyle.rich.g.borderRadius = fs5 - this.configs.series[0].label.rich.first.fontSize = fs12 - this.configs.series[0].label.rich.second.fontSize = fs12 - this.configs.series[0].label.rich.third.fontSize = fs12 - this.configs.series[0].label.rich.fourth.fontSize = fs12 - this.configs.series[0].label.rich.fifth.fontSize = fs12 + this.configs.series[0].label.rich.first.fontSize = fs10 + this.configs.series[0].label.rich.second.fontSize = fs10 + this.configs.series[0].label.rich.third.fontSize = fs10 + this.configs.series[0].label.rich.fourth.fontSize = fs10 + this.configs.series[0].label.rich.fifth.fontSize = fs10 this.chart.setOption(this.configs) }