From 83d8b2a1ccf300fb35caf0b8816d7b7120a9c0d0 Mon Sep 17 00:00:00 2001
From: loulijun2021 <1694218219@qq.com>
Date: 星期四, 04 八月 2022 16:04:40 +0800
Subject: [PATCH] 修改echarts图及看板的文字颜色
---
src/utils/myEcharts.js | 14 +++++++++-----
1 files changed, 9 insertions(+), 5 deletions(-)
diff --git a/src/utils/myEcharts.js b/src/utils/myEcharts.js
index af575cb..6267536 100644
--- a/src/utils/myEcharts.js
+++ b/src/utils/myEcharts.js
@@ -402,7 +402,8 @@
show: false
},
axisLabel: {
- color: '#d8d7d9',
+ // color: '#d8d7d9',
+ color: '#fff',
fontSize: 14,
formatter: function(value, index) {
return [
@@ -412,7 +413,8 @@
rich: {
lg: {
// backgroundColor: '#339911',
- color: '#d8d7d9',
+ // color: '#d8d7d9',
+ color: '#fff',
borderRadius: 15,
// padding: 5,
align: 'center',
@@ -502,11 +504,13 @@
},
title: {
text: titleText,
- x: '70%',
+ x: '73%',
y: '2%',
textStyle: {
- color: '#fff',
- fontSize: '22'
+ // color: '#fff',
+ color: '#00ffff',
+ fontSize: '18',
+ fontWeight: 'lighter'
},
subtextStyle: {
color: '#90979c',
--
Gitblit v1.9.3