Echart如何显示百分比。Echart 显示百分比需要更改的地方有三个:
1. Y轴
yAxis : [?{
axisLabel: {
formatter: '{value} %'
}
}?]
tooltip
tooltip: {
formatter: '{c}%'
}
X
series: [{
itemStyle: {
normal: {
label: {
show: true,
positiong: 'top',
formatter: '{c}%'
}
}
}
}]