From 135785f21147acf056be81faadcf50f0edfe0415 Mon Sep 17 00:00:00 2001 From: OathK1per Date: Wed, 16 Nov 2022 13:55:10 +0800 Subject: [PATCH] =?UTF-8?q?=E7=BB=9F=E8=AE=A1=E5=9B=BE=E4=BF=AE=E6=94=B9?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../templates/admin/space_statistics.ftl | 19 +++++++++++++------ 1 file changed, 13 insertions(+), 6 deletions(-) diff --git a/src/main/resources/templates/admin/space_statistics.ftl b/src/main/resources/templates/admin/space_statistics.ftl index bcb7e72..57bbb4b 100644 --- a/src/main/resources/templates/admin/space_statistics.ftl +++ b/src/main/resources/templates/admin/space_statistics.ftl @@ -15,8 +15,8 @@
-
-
+
+
@@ -37,7 +37,8 @@ left: 'center' }, tooltip: { - trigger: 'item' + trigger: 'item', + formatter: '{a}{b}
项目数占比:{d}%' }, legend: { orient: 'vertical', @@ -70,10 +71,16 @@ avoidLabelOverlap: true, data: [], label: { - normal: { - formatter: '{b}:{d}%' - } + show: true, + position: 'inside', + color: 'black', + formatter: '{c}' }, + // label: { + // normal: { + // formatter: '{b}:{d}%' + // } + // }, emphasis: { itemStyle: { shadowBlur: 10,