From 01904e0cfaa2cc99a5bf34733336c61781445fd5 Mon Sep 17 00:00:00 2001 From: xy <271556543@qq.com> Date: Thu, 30 May 2024 16:16:19 +0800 Subject: [PATCH] 1 --- resources/views/admin/home.blade.php | 12 +++++++++++- 1 file changed, 11 insertions(+), 1 deletion(-) diff --git a/resources/views/admin/home.blade.php b/resources/views/admin/home.blade.php index a7a7c4b..73023ca 100644 --- a/resources/views/admin/home.blade.php +++ b/resources/views/admin/home.blade.php @@ -306,7 +306,7 @@ var left = idx * 33.3; return { type: 'pie', - radius: [20, 60], + radius: [33, 60], top: 'center', height: '33.33%', left: left + '%', @@ -319,6 +319,16 @@ show: false, position: 'center' }, + emphasis: { + label: { + show: true, + fontSize: 18, + fontWeight: 'bold' + } + }, + labelLine: { + show: false + }, data: data }; })