Skip to content
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

🐛 axis label 配置 equidistanceWithReverseBoth 仍无法保留最后一个 ticks #3857

Closed
visiky opened this issue Apr 10, 2022 · 1 comment · Fixed by #3858
Closed
Assignees

Comments

@visiky
Copy link
Member

visiky commented Apr 10, 2022

  • G2 Version: 4.x
  • Platform:
  • Mini Showcase(like screenshots):

image

  • CodePen Link: DEMO
@visiky visiky changed the title 🐛 axis label 🐛 axis label 配置 equidistanceWithReverseBoth 仍无法保留最后一个 ticks Apr 10, 2022
@visiky
Copy link
Member Author

visiky commented Apr 10, 2022

原因: equidistanceWithReverseBoth 处理 label 展示逻辑是在 @antv/component 中的,但是ticks的生成是在 G2 层,如果 ticks 的生成就已经没有保留最后一个 tick,那么组件层处理标签显示策略也无法做效

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant