wuwenyuan111 opened a new issue #11944: 横坐标轴只显示最大和最小标签值,标签溢出了。该如何解决? URL: https://github.com/apache/incubator-echarts/issues/11944 ### Version 4.6.0 ### Steps to reproduce 关键配置: ``` grid: { // 网格容器距离上下左右侧的距离 top: 30, right: 5, bottom: 30, left: 10, containLabel: true, }, axisLabel: { interval: 400, // 坐标轴刻度标签的显示间隔。 showMinLabel: true, showMaxLabel: true, align: 'left' } ```  ### What is expected? 只需要显示最大和最小的标签,同时标签不溢出。 不希望通过rotate或是换行的方式来全显,毕竟只要显示两个标签而已。 ### What is actually happening? axisLabel.align设为left,则右边标签溢出;设为right,则左边标签溢出;设为center,则两个标签都有溢出部分。 <!-- This issue is generated by echarts-issue-helper. DO NOT REMOVE -->
---------------------------------------------------------------- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. For queries about this service, please contact Infrastructure at: [email protected] With regards, Apache Git Services --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
