app.title = '极坐标系下的堆叠柱状图';
option = {
angleAxis: {
min: 0,
max: 360,
interval: 30,
clockwise: false
},
radiusAxis: {
type: 'category',
data: ['周一', '周二', '周三', '周四'],
axisLabel:{
color:'#000'
},
z: 10
},
polar: {
},
series: [{
type: 'bar',
itemStyle: {
normal: {
color:'#000',
opacity:0.2
}
},
data: [20,30, 40, 44],
encode: {
label: 3
},
coordinateSystem: 'polar',
name: 'A',
label: {
normal: {
show:true,
formatter:'{a}',
color:'#000'
}
},
stack: 'a'
}]
};