From d4410fbed6727ee5f05f933018c87ff854129278 Mon Sep 17 00:00:00 2001
From: loulijun2021 <1694218219@qq.com>
Date: 星期一, 03 十月 2022 18:05:06 +0800
Subject: [PATCH] 1.递交
---
src/utils/myEcharts.js | 15 +++++++++------
1 files changed, 9 insertions(+), 6 deletions(-)
diff --git a/src/utils/myEcharts.js b/src/utils/myEcharts.js
index 79ef19f..c7024cf 100644
--- a/src/utils/myEcharts.js
+++ b/src/utils/myEcharts.js
@@ -2235,6 +2235,7 @@
export function zhkb04() {
const myColor = ['#d0a00e', '#34da62', '#00e9db', '#00c0e9', '#0096f3']
+ const data = [330, 404, 780, 509, 150]
const option = {
backgroundColor: 'transparent',
grid: {
@@ -2285,7 +2286,8 @@
fontSize: 16
}
},
- data: ['12566', '12566', '12566', '12566', '12566']
+
+ data: data
},
{
show: false,
@@ -2308,7 +2310,7 @@
name: '鏉�',
type: 'bar',
yAxisIndex: 0,
- data: [33, 44, 78, 59, 15],
+ data: data.map(r => r / 10),
label: {
normal: {
show: false,
@@ -2383,7 +2385,8 @@
}
},
z: 2
- }]
+ }
+ ]
}
return option
@@ -2583,7 +2586,7 @@
x: 'center',
top: '38%',
textStyle: {
- fontSize: 12,
+ fontSize: 14,
color: '#FFFFFF',
fontFamily: 'DINAlternate-Bold, DINAlternate',
foontWeight: 100
@@ -2745,12 +2748,12 @@
]
const rich = {
white: {
- fontSize: 12,
+ fontSize: 14,
color: '#fff',
fontWeight: '500'
},
bule: {
- fontSize: 12,
+ fontSize: 14,
fontFamily: 'DINBold',
color: '#fff',
fontWeight: 100
--
Gitblit v1.9.3