From 42e8be72925e16874b21e638cf4e026b5af9d851 Mon Sep 17 00:00:00 2001
From: shuishen <1109946754@qq.com>
Date: Mon, 19 Jan 2026 17:17:06 +0800
Subject: [PATCH] feat:echarts图表样式调整

---
 applications/drone-command/src/views/basicManage/deviceStock/DeviceChart1.vue |    7 ++++---
 1 files changed, 4 insertions(+), 3 deletions(-)

diff --git a/applications/drone-command/src/views/basicManage/deviceStock/DeviceChart1.vue b/applications/drone-command/src/views/basicManage/deviceStock/DeviceChart1.vue
index adf02ec..a41cde7 100644
--- a/applications/drone-command/src/views/basicManage/deviceStock/DeviceChart1.vue
+++ b/applications/drone-command/src/views/basicManage/deviceStock/DeviceChart1.vue
@@ -149,7 +149,7 @@
 		graphic: {
 			type: 'text',
 			left: '22%',
-			top: '35%',
+			top: '48%',
 			style: {
 				text: '设备类型',
 				fill: '#FFFFFF',
@@ -166,6 +166,7 @@
 				color: '#FFFFFF',
 				fontSize: 12,
 				rich: legendRich,
+				lineHeight: 30
 			},
 			itemWidth: 8,
 			itemHeight: 8,
@@ -198,7 +199,7 @@
 		},
 		title: {
 			x: 'center',
-			top: '20',
+			top: 0,
 			textStyle: {
 				color: '#fff',
 				fontSize: 22,
@@ -227,7 +228,7 @@
 			show: false,
 			boxHeight: 26,
 			left: '0%',
-			top: -20,
+			top: '-2%',
 			width: '60%',
 			viewControl: {
 				distance: 210,

--
Gitblit v1.9.3