From 116e446a98e8a675f32a1c72af5dff30d1793946 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E9=99=88=E8=A3=95=E8=B4=A2?= Date: Sun, 3 Apr 2022 21:53:23 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BC=98=E5=8C=96?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../xm/rpt/product/menuDayAccumulate.vue | 32 +++++++++++++++++-- 1 file changed, 30 insertions(+), 2 deletions(-) diff --git a/src/views/xm/rpt/product/menuDayAccumulate.vue b/src/views/xm/rpt/product/menuDayAccumulate.vue index efac97fc..679bd805 100644 --- a/src/views/xm/rpt/product/menuDayAccumulate.vue +++ b/src/views/xm/rpt/product/menuDayAccumulate.vue @@ -119,9 +119,16 @@ { title: { text: '需求累积图' - }, + }, + tooltip: { - trigger: 'axis' + trigger: 'axis', + axisPointer: { + type: 'cross', + label: { + backgroundColor: '#6a7985' + } + } }, legend: { data: ['未开始', '执行中', '已完成', '已关闭'] @@ -150,24 +157,45 @@ name: '未开始', type: 'line', stack: 'Total', + areaStyle: {}, + emphasis: { + focus: 'series' + }, data: this.menuUnstartCntCpd }, { name: '执行中', type: 'line', stack: 'Total', + areaStyle: {}, + emphasis: { + focus: 'series' + }, data: this.menuExecCntCpd, }, { name: '已完成', type: 'line', stack: 'Total', + areaStyle: {}, + emphasis: { + focus: 'series' + }, data: this.menuFinishCntCpd, }, { name: '已关闭', type: 'line', stack: 'Total', + areaStyle: {}, + emphasis: { + focus: 'series' + }, + + label: { + show: true, + position: 'top' + }, data: this.menuCloseCntCpd, } ]