From 6aee7846d9fee08ba42af25c6199ee32a6207c84 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=A5=94=E8=B7=91=E7=9A=84=E9=9D=A2=E6=9D=A1?= <1262327911@qq.com> Date: Fri, 16 Dec 2022 02:44:00 +0000 Subject: [PATCH] =?UTF-8?q?!108=20=E9=A5=BC=E7=8A=B6=E5=9B=BE=E6=96=B0?= =?UTF-8?q?=E5=A2=9E=E5=8A=9F=E8=83=BD=20=E6=98=BE=E7=A4=BA=E6=A0=87?= =?UTF-8?q?=E7=AD=BE,=E6=A0=87=E7=AD=BE=E6=98=BE=E7=A4=BA=E5=86=85?= =?UTF-8?q?=E5=AE=B9,=E5=BC=95=E5=AF=BC=E7=BA=BF=E6=98=BE=E7=A4=BA,?= =?UTF-8?q?=E9=A5=BC=E7=8A=B6=E5=9B=BE=E5=9C=86=E8=A7=92=E8=AE=BE=E7=BD=AE?= =?UTF-8?q?=20Merge=20pull=20request=20!108=20from=20=E6=9D=8E=E5=B0=91?= =?UTF-8?q?=E7=99=BD/master-fetch?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../Charts/Pies/PieCommon/config.ts | 4 +- .../Charts/Pies/PieCommon/config.vue | 46 +++++++++++++++++++ 2 files changed, 49 insertions(+), 1 deletion(-) diff --git a/src/packages/components/Charts/Pies/PieCommon/config.ts b/src/packages/components/Charts/Pies/PieCommon/config.ts index 068450b6..73505883 100644 --- a/src/packages/components/Charts/Pies/PieCommon/config.ts +++ b/src/packages/components/Charts/Pies/PieCommon/config.ts @@ -43,7 +43,9 @@ const option = { }, label: { show: false, - position: 'center' + position: 'center', + formatter: '{b}', + fontSize:12 }, emphasis: { label: { diff --git a/src/packages/components/Charts/Pies/PieCommon/config.vue b/src/packages/components/Charts/Pies/PieCommon/config.vue index 55aa8de5..ee6b40f4 100644 --- a/src/packages/components/Charts/Pies/PieCommon/config.vue +++ b/src/packages/components/Charts/Pies/PieCommon/config.vue @@ -7,6 +7,52 @@ + + + + + 展示标签 + + + + + + + + + + + + + + + + 展示引导线 + + + + + + + + 圆角大小 + + + + + + 线条宽度 + + +