关键代码在下面,直接添加 title 即可
title: {
show: true,
text: '100%', //图中间的值
x: 'center', //居中
y: 'center',
textStyle: {
fontSize: '15',
color: 'pink',
fontWeight: 'normal',
fontWeight:'800'
}
},
关键代码在下面,直接添加 title 即可
title: {
show: true,
text: '100%', //图中间的值
x: 'center', //居中
y: 'center',
textStyle: {
fontSize: '15',
color: 'pink',
fontWeight: 'normal',
fontWeight:'800'
}
},