From 77409c2e62f46e63b42a0f024a7120a37b078878 Mon Sep 17 00:00:00 2001 From: "lijie.hu" Date: Wed, 3 Apr 2024 17:43:32 +0800 Subject: [PATCH] =?UTF-8?q?=E5=AE=8C=E5=96=84=E4=BB=AA=E8=A1=A8=E7=9B=98?= =?UTF-8?q?=E6=A0=B7=E5=BC=8F?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../lj-text-dashboard.component.css | 4 ++-- .../lj-text-dashboard.component.html | 5 ++--- .../lj-text-dashboard.component.ts | 20 ++++++++++++++++--- 3 files changed, 21 insertions(+), 8 deletions(-) diff --git a/src/app/routes/data-v/lj-text-dashboard/lj-text-dashboard.component.css b/src/app/routes/data-v/lj-text-dashboard/lj-text-dashboard.component.css index e187bbf..c42618e 100644 --- a/src/app/routes/data-v/lj-text-dashboard/lj-text-dashboard.component.css +++ b/src/app/routes/data-v/lj-text-dashboard/lj-text-dashboard.component.css @@ -35,8 +35,8 @@ .chart-container { - width: 13rem; - height: 13rem; + width: 12rem; + height: 12rem; } \ No newline at end of file diff --git a/src/app/routes/data-v/lj-text-dashboard/lj-text-dashboard.component.html b/src/app/routes/data-v/lj-text-dashboard/lj-text-dashboard.component.html index 9354ee1..83207b1 100644 --- a/src/app/routes/data-v/lj-text-dashboard/lj-text-dashboard.component.html +++ b/src/app/routes/data-v/lj-text-dashboard/lj-text-dashboard.component.html @@ -1,7 +1,6 @@
-
-
-
+
+

{{ text }}

diff --git a/src/app/routes/data-v/lj-text-dashboard/lj-text-dashboard.component.ts b/src/app/routes/data-v/lj-text-dashboard/lj-text-dashboard.component.ts index e20334e..374bf2a 100644 --- a/src/app/routes/data-v/lj-text-dashboard/lj-text-dashboard.component.ts +++ b/src/app/routes/data-v/lj-text-dashboard/lj-text-dashboard.component.ts @@ -48,14 +48,28 @@ export class DataVLjTextDashboardComponent implements OnInit { progress: { show: true }, + itemStyle: { + color: '#00EFF9' + }, + pointer: { + itemStyle: { + color: '#00EFF9' + } + }, + + axisLine: { + lineStyle: { + color: [[1, '#E8E8E8']] // 底色 + } + }, detail: { valueAnimation: true, - formatter: '{value}' + formatter: '{value}%' }, data: [ { - value: 50, - name: 'SCORE' + value: 20, + name: '' } ] }