series : [
{
name: '资产名称',
type: 'pie',
radius : '60%',//饼图的半径。可以为如下类型:20% 表示外半径为可视区尺寸(容器高宽中较小一项)的 20% 长度
center: ['50%', '52%'],//饼图的中心(圆心)坐标,数组的第一项是横坐标,第二项是纵坐标
label:{
fontWeight: '100',
normal:{
textStyle:{
fontFamily:'Microsoft YaHei',
fontSize: 16,
color: 'black',
fontWeight: 200
},
formatter:"{b}:{d}%"
}
},
labelLine:{
lineStyle:{
color: 'black'
}
},
data: asetSeriesData, //数据内容数组
itemStyle: {
emphasis: {//高亮的扇区和标签样式。
shadowBlur: 10,
shadowOffsetX: 0,
shadowColor: 'rgba(0, 0, 0, 0.5)'
}
}
}
]
400等同于normal,700 等同于bold。试试fontWeight: 700