39,084
社区成员
发帖
与我相关
我的任务
分享
option = {
title: {
text: '基础雷达图'
},
radar: {
shape: 'circle',//雷达图绘制类型 polygon 多边形 circle 圆形
center:['50%','50%'],//位置
radius:'50%',//半径
startAngle :90,//起始角度
nameGap :10,//名称和指示器轴的距离
splitNumber :4,//分割段数
splitArea: {//背景分割区域
areaStyle: {
color: ['#A7D282', '#FFF57F', '#FFF57F', '#EF856F','#A7D282']
}
},
indicator: [//雷达图的指示器,用来指定雷达图中的多个变量(维度)
{ name: '管理组织架构', max: 6500},
{ name: '评价及处理', max: 16000},
{ name: '管理制度与策略', max: 30000}
]
},
legend:{
show:true,
backgroundColor:'red',
},
series: [{
name: '雷达图1',
type: 'radar',
itemStyle: {
normal:{
color:'#005AAF',
borderWidth:20,
borderType:'dashed',
shadowColor: 'red',
shadowBlur: 10,
opacity:1
},emphasis:{
color:'red',
borderWidth:16
},
areaStyle: {
normal: {
opacity: 100,
color:'red'
}
}
},//拐点样式
lineStyle: {normal: {color:'#005AAF',width:4}},//折线样式
data : [
{
value : [4300, 10000, 28000, 35000, 50000,10000],
name : '预算分配(Allocated Budget)'
}
]
}]
};