echarts x轴类目换行

 formatter:function(val){
    return val.split("").join("
");
 }
原文地址:https://www.cnblogs.com/zhouzhou826/p/8143022.html