From bfa16ec4382792936129e32dfdda617dd042f277 Mon Sep 17 00:00:00 2001 From: Ryker <1132969953@qq.com> Date: Mon, 13 Jun 2022 09:09:28 +0000 Subject: [PATCH] =?UTF-8?q?feat=EF=BC=9A=E6=96=B0=E5=A2=9E=E6=B0=B4?= =?UTF-8?q?=E7=90=83=E5=9B=BE=E7=9A=84=E5=BD=A2=E7=8A=B6=E3=80=81=E6=96=87?= =?UTF-8?q?=E5=AD=97=E5=A4=A7=E5=B0=8F=E9=85=8D=E7=BD=AE=20=E6=B0=B4?= =?UTF-8?q?=E7=90=83=E5=9B=BE=E7=9A=84=E5=BD=A2=E7=8A=B6=E3=80=81=E6=96=87?= =?UTF-8?q?=E5=AD=97=E5=A4=A7=E5=B0=8F=E9=85=8D=E7=BD=AE?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../Charts/Mores/WaterPolo/config.ts | 1 + .../Charts/Mores/WaterPolo/config.vue | 42 ++++++++++++++++++- 2 files changed, 41 insertions(+), 2 deletions(-) diff --git a/src/packages/components/Charts/Mores/WaterPolo/config.ts b/src/packages/components/Charts/Mores/WaterPolo/config.ts index e671ed00..390b89a1 100644 --- a/src/packages/components/Charts/Mores/WaterPolo/config.ts +++ b/src/packages/components/Charts/Mores/WaterPolo/config.ts @@ -10,6 +10,7 @@ export const option = { series: [ { type: 'liquidFill', + shape: 'circle', radius: '90%', data: [0], center: ['50%', '50%'], diff --git a/src/packages/components/Charts/Mores/WaterPolo/config.vue b/src/packages/components/Charts/Mores/WaterPolo/config.vue index 029b9919..d65bccf0 100644 --- a/src/packages/components/Charts/Mores/WaterPolo/config.vue +++ b/src/packages/components/Charts/Mores/WaterPolo/config.vue @@ -15,19 +15,26 @@ placeholder="水球数值" > + + + + + + + + > + > @@ -61,4 +68,35 @@ const props = defineProps({ const seriesList = computed(() => { return props.optionData.series }) + +const shapes = [ + { + label: '圆形', + value: 'circle' + }, + { + label: '正方形', + value: 'rect' + }, + { + label: '带圆角的正方形', + value: 'roundRect' + }, + { + label: '正三角形', + value: 'triangle' + }, + { + label: '菱形', + value: 'diamond' + }, + { + label: '水滴', + value: 'pin' + }, + { + label: '箭头', + value: 'arrow' + }, +]