The above number is too long, and the completion is displayed, and the month of the x coordinate will also display the completion when the number is large:
x can adjust the width of the ordinate label
y2 can adjust the height of the abscissa label
grid: { x: 100, // default is 80px y: 60, // default is 60px x2: 40, // default 80px y2: 45 // default 60px },
xAxis: [{ type: 'category', name: '', axisLabel:{ interval:0, rotate:45, }, data: null, }],
axisLabel adjusts the angle, etc.
After editing:
Reference: https://www.cnblogs.com/liubeimeng/p/4980067.html