工作台:echart调整

This commit is contained in:
guoyue 2022-06-30 11:45:07 +08:00
parent dd6d8018d8
commit eb2ec69927
1 changed files with 5 additions and 0 deletions

View File

@ -60,6 +60,8 @@ export default {
this.myChart.dispose()
}
this.myChart = chartDom && echarts.init(chartDom);
console.log('this.myChart------------>', this.myChart);
let lengendArr = this.dataListCopy.filter(v => v.name);
@ -98,6 +100,9 @@ export default {
},
},
],
tooltip: {
triagger: 'item'
},
"legend": {
type: 'scroll',
"width": "90%",