initWang(dom) {
let myOption = echarts.init(document.getElementById(dom))
myOption.setOption({
radar: {
name: {
textStyle: {
color: '#333333',
borderRadius: 1,
padding: [0,0]
}
},
// shape: 'circle',
indicator: [
{ name: '拥挤指数'},
{ name: '处理指数'},
{ name: '系统运行指数'},
{ name: '满意指数'}
],
radius:'70%',
axisLine: {
lineStyle: {
color: '#E0F0FF'
}
},
splitLine: {
lineStyle: {
color: '#C0C0C0'
}
},
splitArea: {
show: false
}
},
series: [{
type: 'radar',
label: {
show: false
},
data: [{
// value: status ? [list[0].nianLianDuanBL*100,list[1].nianLianDuanBL*100,list[2].nianLianDuanBL*100,list[3].nianLianDuanBL*100,list[4].nianLianDuanBL*100]
// : [list[0].nianLianDuanBL*100,list[1].nianLianDuanBL*100,list[2].nianLianDuanBL*100,list[3].nianLianDuanBL*100,list[4].nianLianDuanBL*100,list[5].nianLianDuanBL*100],
value: [1111,22,33,44,55,66],
itemStyle: {
color: 'rgb(49, 150, 250)',
borderWidth: 1
},
areaStyle: {
color: 'rgba(49, 150, 250, 0.5)'
}
}]
}]
})
},
echarts-radar
最新推荐文章于 2023-01-06 13:27:20 发布