-
Notifications
You must be signed in to change notification settings - Fork 19.7k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
设置k线图xAxis.axisLabel.showMaxLabel:true,强制显示最后一个x轴标签时,标签显示不全,被截断 #19615
Comments
@soeasyjx It seems you are not using English, I've helped translate the content automatically. To make your issue understood by more people and get helped, we'd like to suggest using English next time. 🤗 TRANSLATEDTITLE Set xAxis.axisLabel.showMaxLabel:true to force the display of the last x-axis label when the last x-axis label is forcibly displayed, and the label is not displayed completely and is truncated |
|
希望能从根本上解决这个问题 |
#19228 of the coming v5.5.0 may meet your needs. Feel free to try the release candidate and leave your comment. |
Turns out the reason is simple - grid.right:20 means (only) 20 pixels on right side allowed. Not enough for the last X label. |
Version
5.4.3
Link to Minimal Reproduction
demo
Steps to Reproduce
import * as echarts from "echarts";
echarts.init(chartDom, null, { renderer: "canvas" })
关键option
效果图
2013/6/13没有显示完全
Current Behavior
一页最多显示45天的k线数据,且只需显示当前可视数据中开始和结束的两个时间标签,当通过 showMaxLabel=true,showMinLabel=true来达到所需要目的时,最后一个标签显示不完全,查看文档,也没有找到相关可以设置最后一个标签偏移量的属性
提示
根据公司UI标注我设置了grid的left,right都为20
Expected Behavior
能够完整的显示最后一个标签
Environment
Any additional comments?
No response
The text was updated successfully, but these errors were encountered: