From d1b72117058f1131046b6aa3add8e3ccfae033d8 Mon Sep 17 00:00:00 2001
From: wenxiangchao <wenxiangchao@ihengxin.com.cn>
Date: 星期一, 09 十一月 2026 10:36:07 +0800
Subject: [PATCH] docs: CAN 模拟器独立 TCP 服务进程设计规格(统一 CanDeviceDriver + 双工推送协议)
---
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