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

在grid.containLabel模式下xAxis的rotate算错了 #12259

Closed
Ling310 opened this issue Mar 9, 2020 · 0 comments · Fixed by #12556
Closed

在grid.containLabel模式下xAxis的rotate算错了 #12259

Ling310 opened this issue Mar 9, 2020 · 0 comments · Fixed by #12556
Labels

Comments

@Ling310
Copy link

Ling310 commented Mar 9, 2020

Version

4.7.0-rc.1

Reproduction link

https://gallery.echartsjs.com/editor.html?c=xOcNMBdkE&v=1

Steps to reproduce

左图空白多了一截,右图减了不该减的一截。应该是算sin取值的时候正负取得不对

What is expected?

旋转后x轴label刚好与图表边缘相切

What is actually happening?

不正确的取值

@pissang pissang added the bug label Mar 11, 2020
@pissang pissang added this to the 4.9.0 milestone Mar 11, 2020
pissang added a commit that referenced this issue Aug 4, 2020
fix(axisLabel): fix axisLabel rotating with grid.containLabel #12259
@pissang pissang removed this from the 4.9.0 milestone Aug 6, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants