From 621fc150fb3418d3d706034e7ebfc4b0ae876e5f Mon Sep 17 00:00:00 2001
From: luxiaotao1123 <t1341870251@163.com>
Date: 星期四, 19 十一月 2020 14:48:03 +0800
Subject: [PATCH] #
---
src/main/webapp/views/monitor/monitor.html | 42 +++++++++++++++++++++++++++++++++---------
1 files changed, 33 insertions(+), 9 deletions(-)
diff --git a/src/main/webapp/views/monitor/monitor.html b/src/main/webapp/views/monitor/monitor.html
index b2be8fb..8c2b792 100644
--- a/src/main/webapp/views/monitor/monitor.html
+++ b/src/main/webapp/views/monitor/monitor.html
@@ -409,7 +409,7 @@
shadowBlur: 10
}
},
- axisLabel: { // 鍧愭爣杞村皬鏍囪
+ axisLabel: { // 鍧愭爣杞存暟瀛�
fontWeight: 'bolder',
color: '#fff',
shadowColor: '#fff', //榛樿閫忔槑
@@ -436,7 +436,7 @@
shadowColor: '#fff', //榛樿閫忔槑
shadowBlur: 5
},
- title: {
+ title: { // 閫熷害鍗曚綅
textStyle: { // 鍏朵綑灞炴�ч粯璁や娇鐢ㄥ叏灞�鏂囨湰鏍峰紡锛岃瑙乀EXTSTYLE
fontWeight: 'bolder',
fontSize: 20,
@@ -446,7 +446,7 @@
shadowBlur: 10
}
},
- detail: {
+ detail: { // 閫熷害鍊�
backgroundColor: 'rgba(30,144,255,0.8)',
borderWidth: 1,
borderColor: '#fff',
@@ -458,7 +458,7 @@
color: '#fff'
}
},
- data: [{value: 40, name: 'm/min'}]
+ data: [{value: 40, name: 'm/min\nx'}]
},
{
name: '鍗囬檷閫熷害',
@@ -523,13 +523,13 @@
shadowBlur: 5,
width: 80,
height: 30,
- offsetCenter: [25, '20%'], // x, y锛屽崟浣峱x
+ offsetCenter: [35, '20%'], // x, y锛屽崟浣峱x
textStyle: { // 鍏朵綑灞炴�ч粯璁や娇鐢ㄥ叏灞�鏂囨湰鏍峰紡锛岃瑙乀EXTSTYLE
fontWeight: 'bolder',
color: '#fff'
}
},
- data: [{value: 1.5, name: 'm/min'}]
+ data: [{value: 1.5, name: 'y'}]
},
{
name: '璐у弶閫熷害',
@@ -548,6 +548,12 @@
shadowColor: '#fff', //榛樿閫忔槑
shadowBlur: 10
}
+ },
+ axisLabel: { // 鍧愭爣杞村皬鏍囪
+ fontWeight: 'bolder',
+ color: '#fff',
+ shadowColor: '#fff', //榛樿閫忔槑
+ shadowBlur: 10
},
axisTick: { // 鍧愭爣杞村皬鏍囪
length: 12, // 灞炴�ength鎺у埗绾块暱
@@ -585,12 +591,30 @@
shadowBlur: 5
},
title: {
- show: false
+ offsetCenter: [0, '-30%'], // x, y锛屽崟浣峱x
+ textStyle: { // 鍏朵綑灞炴�ч粯璁や娇鐢ㄥ叏灞�鏂囨湰鏍峰紡锛岃瑙乀EXTSTYLE
+ fontWeight: 'bolder',
+ fontStyle: 'italic',
+ color: '#fff',
+ shadowColor: '#fff', //榛樿閫忔槑
+ shadowBlur: 10
+ }
},
detail: {
- show: false
+ //backgroundColor: 'rgba(30,144,255,0.8)',
+ // borderWidth: 1,
+ borderColor: '#fff',
+ shadowColor: '#fff', //榛樿閫忔槑
+ shadowBlur: 5,
+ width: 80,
+ height: 30,
+ offsetCenter: [35, '5%'], // x, y锛屽崟浣峱x
+ textStyle: { // 鍏朵綑灞炴�ч粯璁や娇鐢ㄥ叏灞�鏂囨湰鏍峰紡锛岃瑙乀EXTSTYLE
+ fontWeight: 'bolder',
+ color: '#fff'
+ }
},
- data: [{value: 0.5, name: 'm/min'}]
+ data: [{value: 0.5, name: 'z'}]
},
{
name: '璐у弶浣嶇疆',
--
Gitblit v1.9.1