echarts饼图标题居中以及调整主副标题的间距、字号
text:主标题
subtext:副标题
textStyle: {} //主标题的属性设置
subtextStyle: {} //副标题的属性
itemGap:主副标题之间的间距
textAlign:整体(包括 text 和 subtext)的水平对齐
title: {
show: true,
text: '本月参评项目',
subtext: total + '个',
itemGap: 8,
left: '48%',
top: '45%',
textStyle: {
color: '#B4E4FF',
fontSize: 8 * sceenRate,
},
subtextStyle: {
color: '#B4E4FF',
fontSize: 8 * sceenRate,
},
x: 'center',
y: 'center',
textAlign:'center'
},