yAxis:
      {
        show: true,
        type: 'value',
        boundaryGap: ['0%', '20%'],
        //添加单位$
        axisLabel: {
          formatter: '${value}'
        }
      }

相关文章: