initCharts(){
let myChart = this.$echarts.init(document.getElementById(“myEcharts”));
**window.addEventListener("resize", function() {//雷达图自适应屏幕
myChart.resize();
})
```**
let option = {
title: {
text: ''
},
color:['#6A60FF','#44E1B2'],
legend: {
data: ['张三', '李四']
},
radar: [
{
splitArea: {
areaStyle: {
color: ['rgba(114, 172, 209, 0.2)',
'rgba(114, 172, 209, 0.4)', 'rgba(114, 172, 209, 0.6)',
'rgba(114, 172, 209, 0.8)', 'rgba(114, 172, 209, 1)'],
shadowColor: 'rgba(0, 0, 0, 0.3)',
shadowBlur: 10
}
},
axisLine: {
lineStyle: {
color: 'rgba(255, 255, 255, 0.5)'
}
},
splitLine: {
lineSty