代码:
1 xAxis: [ 2 { 3 type: ‘category‘, 4 data:[], 5 axisLabel: { 6 interval:0, 7 rotate:40 8 }, 9 grid: { 10 left: ‘10%‘, 11 bottom:‘35%‘ 12 } 13 14 } 15 ],
示例图:
echart 横轴倾斜
原文:https://www.cnblogs.com/smartisn/p/12246208.html