From 83f88dbd54878949f45c1490688642a7323d0208 Mon Sep 17 00:00:00 2001 From: shijingjing <1789544664@qq.com> Date: Fri, 29 Jul 2022 17:06:30 +0800 Subject: [PATCH 1/2] =?UTF-8?q?=E6=81=A2=E5=A4=8D=E4=B8=80=E4=B8=8B?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../AppPropagandaStatistics/AppPropagandaStatistics.vue | 8 +------- 1 file changed, 1 insertion(+), 7 deletions(-) diff --git a/src/project/saas/AppPropagandaStatistics/AppPropagandaStatistics.vue b/src/project/saas/AppPropagandaStatistics/AppPropagandaStatistics.vue index c869ccbf..16a9d935 100644 --- a/src/project/saas/AppPropagandaStatistics/AppPropagandaStatistics.vue +++ b/src/project/saas/AppPropagandaStatistics/AppPropagandaStatistics.vue @@ -372,14 +372,11 @@ export default { }, // 触发人数 getBrokenEcharts1() { - let dataX = this.resX; - let dataY1 = this.resY; this.brokenEcharts1 = echarts.init( document.getElementById("brokenEcharts1") ); this.brokenEcharts1.setOption({ tooltip: { - show: this.filterShow == true? false: true , trigger: "axis", }, grid: { @@ -418,7 +415,7 @@ export default { series: [ { type: "line", - data: dataY1, + data: this.resY, lineStyle: { color: "#4B87FE", }, @@ -436,7 +433,6 @@ export default { ); this.brokenEcharts2.setOption({ tooltip: { - show: this.filterShow == true? false: true, trigger: "axis", }, grid: { @@ -494,7 +490,6 @@ export default { ); this.brokenEcharts3.setOption({ tooltip: { - show: this.filterShow == true? false: true , trigger: "axis", }, grid: { @@ -572,7 +567,6 @@ export default { this.getColumnarEcharts(xData, yData) }) },600) - } } }); From 10720137e973d081a240f88ca461d9bc32de4177 Mon Sep 17 00:00:00 2001 From: shijingjing <1789544664@qq.com> Date: Fri, 29 Jul 2022 17:16:30 +0800 Subject: [PATCH 2/2] =?UTF-8?q?=E6=9F=B1=E7=8A=B6=E5=9B=BE?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../AppPropagandaStatistics.vue | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/src/project/saas/AppPropagandaStatistics/AppPropagandaStatistics.vue b/src/project/saas/AppPropagandaStatistics/AppPropagandaStatistics.vue index 16a9d935..5dd29359 100644 --- a/src/project/saas/AppPropagandaStatistics/AppPropagandaStatistics.vue +++ b/src/project/saas/AppPropagandaStatistics/AppPropagandaStatistics.vue @@ -605,18 +605,18 @@ export default { }, series: [ { - label: { - show: true, - position: top, - textStyle: { - fontSize: 13, - color: '#666' - } - }, data: yData, itemStyle: { normal: { color: "#5087ec", + label: { + show: true, //开启显示 + position: 'top', //在上方显示 + textStyle: { + fontSize: 13, + color: '#666' + } + }, }, }, type: "bar",