工作台:echart调整
This commit is contained in:
parent
b4d28c2418
commit
e9cd3ce4ff
|
@ -60,11 +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);
|
||||||
|
|
||||||
let colorArray = [
|
let colorArray = [
|
||||||
'#fe845e', '#ff3e55', '#d5c438', '#ff9999', '#9c78ed', '#48c760', '#48c6c7', '#0058e1',
|
'#fe845e', '#ff3e55', '#d5c438', '#ff9999', '#9c78ed', '#48c760', '#48c6c7', '#0058e1',
|
||||||
]
|
]
|
||||||
|
@ -113,8 +110,8 @@ export default {
|
||||||
},
|
},
|
||||||
"icon": "circle",
|
"icon": "circle",
|
||||||
"right": "0",
|
"right": "0",
|
||||||
"bottom": "0",
|
"bottom": "30",
|
||||||
"padding": [10, 60],
|
// "padding": [10, 60],
|
||||||
"itemGap": 10,
|
"itemGap": 10,
|
||||||
"data": lengendArr
|
"data": lengendArr
|
||||||
},
|
},
|
||||||
|
|
Loading…
Reference in New Issue