工作台:echart调整
This commit is contained in:
parent
dd6d8018d8
commit
eb2ec69927
|
@ -60,6 +60,8 @@ export default {
|
||||||
this.myChart.dispose()
|
this.myChart.dispose()
|
||||||
}
|
}
|
||||||
this.myChart = chartDom && echarts.init(chartDom);
|
this.myChart = chartDom && echarts.init(chartDom);
|
||||||
|
console.log('this.myChart------------>', this.myChart);
|
||||||
|
|
||||||
|
|
||||||
let lengendArr = this.dataListCopy.filter(v => v.name);
|
let lengendArr = this.dataListCopy.filter(v => v.name);
|
||||||
|
|
||||||
|
@ -98,6 +100,9 @@ export default {
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
],
|
],
|
||||||
|
tooltip: {
|
||||||
|
triagger: 'item'
|
||||||
|
},
|
||||||
"legend": {
|
"legend": {
|
||||||
type: 'scroll',
|
type: 'scroll',
|
||||||
"width": "90%",
|
"width": "90%",
|
||||||
|
|
Loading…
Reference in New Issue