恢复一下

This commit is contained in:
shijingjing
2022-07-29 17:06:30 +08:00
parent a1ebcb61a3
commit 83f88dbd54

View File

@@ -372,14 +372,11 @@ export default {
}, },
// 触发人数 // 触发人数
getBrokenEcharts1() { getBrokenEcharts1() {
let dataX = this.resX;
let dataY1 = this.resY;
this.brokenEcharts1 = echarts.init( this.brokenEcharts1 = echarts.init(
document.getElementById("brokenEcharts1") document.getElementById("brokenEcharts1")
); );
this.brokenEcharts1.setOption({ this.brokenEcharts1.setOption({
tooltip: { tooltip: {
show: this.filterShow == true? false: true ,
trigger: "axis", trigger: "axis",
}, },
grid: { grid: {
@@ -418,7 +415,7 @@ export default {
series: [ series: [
{ {
type: "line", type: "line",
data: dataY1, data: this.resY,
lineStyle: { lineStyle: {
color: "#4B87FE", color: "#4B87FE",
}, },
@@ -436,7 +433,6 @@ export default {
); );
this.brokenEcharts2.setOption({ this.brokenEcharts2.setOption({
tooltip: { tooltip: {
show: this.filterShow == true? false: true,
trigger: "axis", trigger: "axis",
}, },
grid: { grid: {
@@ -494,7 +490,6 @@ export default {
); );
this.brokenEcharts3.setOption({ this.brokenEcharts3.setOption({
tooltip: { tooltip: {
show: this.filterShow == true? false: true ,
trigger: "axis", trigger: "axis",
}, },
grid: { grid: {
@@ -572,7 +567,6 @@ export default {
this.getColumnarEcharts(xData, yData) this.getColumnarEcharts(xData, yData)
}) })
},600) },600)
} }
} }
}); });