echarts y轴添加单位
yAxis:
{
show: true,
type: 'value',
boundaryGap: ['0%', '20%'],
//添加单位$
axisLabel: {
formatter: '${value}'
}
}
文章来自:https://www.cnblogs.com/eternityz/p/12271914.html