echarts y轴添加单位

yAxis:
      {
        show: true,
        type: 'value',
        boundaryGap: ['0%', '20%'],
        //添加单位$
        axisLabel: {
          formatter: '${value}'
        }
      }
posted @ 2020-02-07 08:50  未月廿三  阅读(9143)  评论(2编辑  收藏  举报