echarts y轴添加单位

yAxis:
      {
        show: true,
        type: 'value',
        boundaryGap: ['0%', '20%'],
        //添加单位$
        axisLabel: {
          formatter: '${value}'
        }
      }
文章来自:https://www.cnblogs.com/eternityz/p/12271914.html
© 2021 jiaocheng.bubufx.com  联系我们
ICP备案:鲁ICP备09046678号-3