【Echarts 自用总结】Y轴刻度在右侧并且在标线上方






























设置如下
  yAxis : [
        {
            type : 'value',
          axisLabel:{
          margin:-30,
            formatter:function (value){

            return value+ "\n";}
          }
        }
    ]
制作后效果如图:



猜你喜欢

转载自blog.csdn.net/qifei_jia/article/details/76416220