echarts y轴添加单位

yAxis:
      {
        show: true,
        type: 'value',
        boundaryGap: ['0%', '20%'],
        //添加单位$
        axisLabel: {
          formatter: '${value}'
        }
      }
原文地址:https://www.cnblogs.com/eternityz/p/12271914.html