From fe2aa4880d5c9fd88088ad0ed81ebaca05629f5f Mon Sep 17 00:00:00 2001
From: wenxiangchao <wenxiangchao@ihengxin.com.cn>
Date: 星期一, 02 十一月 2026 17:59:45 +0800
Subject: [PATCH] feat: 集成CAN驱动/模拟器 + 仪器仪表注册/硬件调试模块

---
 Plugin.DataBoard/Libs/Static/test.html |   27 +++++++++++++++++++++++++--
 1 files changed, 25 insertions(+), 2 deletions(-)

diff --git a/Plugin.DataBoard/Libs/Static/test.html b/Plugin.DataBoard/Libs/Static/test.html
index 2989317..d037510 100644
--- a/Plugin.DataBoard/Libs/Static/test.html
+++ b/Plugin.DataBoard/Libs/Static/test.html
@@ -208,6 +208,13 @@
                 {
                     data: [],
                     type: 'bar',
+                    label: {
+                        show: true,
+                        formatter: '{c}',
+                        distance: 5,
+                        fontSize: 14,
+                        position: 'inside'
+                    },
                     barMaxWidth: 50
                 }
             ]
@@ -258,6 +265,12 @@
             legend: {
                 orient: 'vertical',
                 left: 'left'
+            },
+            label: {
+                alignTo: 'edge',
+                formatter: '{b}\n璁℃暟:{c}\n鍗犳瘮:{d}%',
+                fontSize: 16,
+                lineHeight: 18
             },
             series: [
                 {
@@ -350,13 +363,23 @@
                     itemStyle: {
                         color: 'red'
                     },
+                    label: {
+                        show: true,
+                        position: 'bottom',
+                        formatter: (param) => param.value.toFixed(2) + '%'
+                    },
                 },
                 {
                     data: [],
                     itemStyle: {
                         color: '#22448b'
                     },
-                    type: 'line'
+                    type: 'line',
+                    label: {
+                        show: true,
+                        position: 'top',
+                        formatter: (param) => param.value.toFixed(2)+'%'
+                    },
                 }
             ]
         };
@@ -441,7 +464,7 @@
                     data: [],
                     label: {
                         show: true,
-                        formatter: '{b}',
+                        formatter: '{b} 璁℃暟:{c}',
                         distance: 10,
                         fontSize: 14,
                         position: 'insideLeft'

--
Gitblit v1.9.1