雷达图的series.symbolOffset(图形位移)和series.position(文本标签位移)无效
配置项如下
option = {
title: {
show: false
},
grid: {
top: 0,
left: 0,
bottom: 0,
right: 0,
},
tooltip: {},
radar: {
name: {
textStyle: {
color: '#fff',
backgroundColor: '#2196f3',
borderRadius: 2,
padding: [3, 5]
}
},
indicator: [{
name: '故障频率(次)',
max: 5
},
{
name: '生命进度(%)',
max: 100
},
{
name: '质量老化评估',
max: 1
},
]
},
series: [{
name: "生命周期分析图",
type: 'radar',
symbolOffset: [0, "50%"],
position: [-100, -100],
itemStyle: {
normal: {
color: "rgba(0,0,0,0)", // 图表中各个图区域的边框线拐点颜色
lineStyle: {
color: "#03a9f4" // 图表中各个图区域的边框线颜色
}
}
},
areaStyle: {
normal: {
color: "#03a9f4"
}
},
data: [{
value: [3, 0.5, 0.5],
itemStyle: {
normal: {
areaStyle: {
type: 'default',
opacity: 0.8, // 图表中各个图区域的透明度
color: "#1686c2" // 图表中各个图区域的颜色
}
}
},
}]
}]
};