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 设置 labelRotate 为 false 且 padding 为 auto 的时候不旋转 label #5633

Closed
pearmini opened this issue Oct 12, 2023 Discussed in #5631 · 1 comment · Fixed by #5660
Closed

axis 设置 labelRotate 为 false 且 padding 为 auto 的时候不旋转 label #5633

pearmini opened this issue Oct 12, 2023 Discussed in #5631 · 1 comment · Fixed by #5660
Milestone

Comments

@pearmini
Copy link
Member

Discussed in #5631

const chart = new Chart();

chart.options({
  axis: { y: { labelAutoRotate: false }} // 不旋转轴
})
@pearmini
Copy link
Member Author

目前行为确实容易造成困惑。

@pearmini pearmini added this to the 5.1.6 milestone Oct 12, 2023
@pearmini pearmini changed the title axis 设置 labelRotate 为 false 且 padding 为 auto 的时候不渲染 label axis 设置 labelRotate 为 false 且 padding 为 auto 的时候不旋转 label Oct 17, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant