Echarts-axislabel display text too long leads to incomplete or overlapping

Change text length x axis:

Reference Links: https://www.cnblogs.com/hwaggLee/p/4762467.html

https://blog.csdn.net/shunhua19881987/article/details/80592446

Change text length y-axis:
https://blog.csdn.net/xiaxiangyun/article/details/78878919

axisLabel: {
 color: "#000", 
    interval: 0, 
    formatter: function(value) { 
        if (value.length > 12) {
          return value.substring(0, 12) + "..."; 
         } else {
           return value;
         } 
    } 
},

https://blog.csdn.net/yijiupingfan0914/article/details/84881490

echarts style setup manual:

https://echarts.baidu.com/option.html#title

ECharts color gradient, Y-axis left-justified text:

Guess you like

Origin blog.csdn.net/weixin_28898107/article/details/94738532
Recommended