Echarts设置Y轴单位

如图所示,Y轴要设置单位

 

 

实例.setOption({
    yAxis: {
           type: "value",
           axisLabel: {
           formatter:'{value} MB',
    },    
})

  

posted @ 2022-04-09 13:37  lucky_tomato  阅读(3697)  评论(0编辑  收藏  举报