From 1751adf783d2c7203b86c0f02f5f737277ca9192 Mon Sep 17 00:00:00 2001
From: loulijun2021 <1694218219@qq.com>
Date: 星期四, 09 五月 2024 14:34:50 +0800
Subject: [PATCH] 1.仓库看板递交
---
src/utils/myEcharts.js | 41 +++++++++++++++++++++--------------------
1 files changed, 21 insertions(+), 20 deletions(-)
diff --git a/src/utils/myEcharts.js b/src/utils/myEcharts.js
index b659d64..0de0884 100644
--- a/src/utils/myEcharts.js
+++ b/src/utils/myEcharts.js
@@ -329,25 +329,25 @@
},
series: [
{
- name: '鏃堕棿',
- type: 'line',
- smooth: false,
- showAllSymbol: true,
- symbol: 'emptyCircle',
- symbolSize: 8,
- itemStyle: {
- normal: {
- color: `rgba(42, 197, 137, 1)`
- }
- },
- lineStyle: {
- normal: {
- width: 2,
- color: `rgba(42, 197, 137, 1)`
- }
- },
- data: dataY
- }
+ name: '鏃堕棿',
+ type: 'line',
+ smooth: false,
+ showAllSymbol: true,
+ symbol: 'emptyCircle',
+ symbolSize: 8,
+ itemStyle: {
+ normal: {
+ color: `rgba(42, 197, 137, 1)`
+ }
+ },
+ lineStyle: {
+ normal: {
+ width: 2,
+ color: `rgba(42, 197, 137, 1)`
+ }
+ },
+ data: dataY
+ }
]
}
@@ -360,6 +360,7 @@
// const titlename = ['澶栬鍒掍激', '琛ㄩ潰娌规薄', '灏哄', '棰滆壊', '澶у皬']
// const data = val.map(i => i.cont)
// const titlename = val.map(i => i.name)
+
const data = dataArr.filter((item, index) => index < 5)
const titlename = titlenameArr.filter((item, index) => index < 5)
@@ -425,7 +426,7 @@
color: function(value, index) {
return value === '0' ? 'transparent' : '#fff'
},
- fontSize: 20,
+ fontSize: 16,
// formatter: function(value, index) {
// return [
// '{lg|' + (index + 1) + '銆� }' + '{title|' + value + '} '
--
Gitblit v1.9.3