option = {
tooltip: {},
legend: {
data: [ '实际开销(Actual Spending)']
},
radar: {
// shape: 'circle',
name: {
textStyle: {
color: '#fff',
backgroundColor: '#999',
borderRadius: 3,
padding: [3, 5]
}
},
indicator: [
{ name: '机柜容量(10000个)', max: 10000},
{ name: '高压直流容量(10000KW)', max: 10000},
{ name: '低压配电容量(10000KW)', max: 10000},
{ name: 'UPS容量(10000KW)', max: 10000},
{ name: '市电容量(10000KW)', max: 10000},
{ name: 'U位容量(46000U)', max: 46000}
]
},
series: [{
name: '预算 vs 开销(Budget vs spending)',
type: 'radar',
// areaStyle: {normal: {}},
data: [
{
value: [5000, 1400, 2800, 3100, 4200, 2100],
name: '实际开销',
lineStyle: {
color: '#01A355',
},
areaStyle: {
normal: {
opacity:0.4,
color: '#01A355' // 选择区域颜色
}
}
}
]
}]
};
注意:本文归作者所有,未经作者允许,不得转载