From c18bc019d3b77241a5171dca43f9d4b72b19429f 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: Tue, 16 May 2023 19:48:06 +0800
Subject: [PATCH] =?UTF-8?q?feat:=20=E6=96=B0=E5=A2=9E=E9=A5=BC=E5=9B=BE?=
=?UTF-8?q?=E8=BD=AE=E6=92=AD=E5=8A=9F=E8=83=BD?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
.../Charts/Pies/PieCommon/config.ts | 7 +
.../Charts/Pies/PieCommon/config.vue | 187 ++++++++--------
.../Charts/Pies/PieCommon/index.vue | 210 ++++++++++++------
3 files changed, 252 insertions(+), 152 deletions(-)
diff --git a/src/packages/components/Charts/Pies/PieCommon/config.ts b/src/packages/components/Charts/Pies/PieCommon/config.ts
index 73505883..1f999a51 100644
--- a/src/packages/components/Charts/Pies/PieCommon/config.ts
+++ b/src/packages/components/Charts/Pies/PieCommon/config.ts
@@ -18,7 +18,14 @@ export const PieTypeObject = {
[PieTypeEnum.ROSE]: 'rose'
}
+// 其它配置
+const otherConfig = {
+ // 轮播动画
+ isCarousel: false,
+}
+
const option = {
+ ...otherConfig,
type: 'ring',
tooltip: {
show: true,
diff --git a/src/packages/components/Charts/Pies/PieCommon/config.vue b/src/packages/components/Charts/Pies/PieCommon/config.vue
index eaa91dd1..2dd38301 100644
--- a/src/packages/components/Charts/Pies/PieCommon/config.vue
+++ b/src/packages/components/Charts/Pies/PieCommon/config.vue
@@ -1,88 +1,99 @@
-
-
-
-
-
-
-
-
-
-
-
-
-
- 展示标签
-
-
-
-
-
- 引导线
-
-
-
-
-
-
-
-
-
-
-
-
-
- 圆角大小
-
-
-
-
-
- 线条宽度
-
-
-
-
-
-
-
+
+
+
+
+
+
+
+
+
+
+
+
+
+ 开启(将自动隐藏图例)
+
+
+
+ 无鼠标点击图例场景时,可强行打开图例
+
+
+
+
+
+
+ 展示标签
+
+
+
+
+
+ 引导线
+
+
+
+
+
+
+
+
+
+
+
+
+
+ 圆角大小
+
+
+
+
+
+ 线条宽度
+
+
+
+
+
+
+
diff --git a/src/packages/components/Charts/Pies/PieCommon/index.vue b/src/packages/components/Charts/Pies/PieCommon/index.vue
index f8706ad4..a662df38 100644
--- a/src/packages/components/Charts/Pies/PieCommon/index.vue
+++ b/src/packages/components/Charts/Pies/PieCommon/index.vue
@@ -1,64 +1,146 @@
-
-
-
-
-
+
+
+
+
+