-
-
Notifications
You must be signed in to change notification settings - Fork 6k
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
Padding/spacing when rotating X-axis labels 90 degree #2414
base: master
Are you sure you want to change the base?
Conversation
eh oh, the tests failed. where 'the height is calculated 2 times'? |
Why the test fails I do not know
|
@thierryH91200 the image can't match, so it failed.. Not having time to look into yet |
see PhilJay/MPAndroidChart@3dfa56b |
See also pull request #2214 |
👍 |
@thierryH91200 Looks like you need to update the test. Previously the tests assumed that the double padding was correct. Since it is being compared to a snapshot, that snapshot needs to be updated accordingly. |
I would say this can also target 4.0.0. @liuxuan30 ? |
see PhilJay/MPAndroidChart@3dfa56b |
@thierryH91200 I'm not saying your solution is wrong, I'm saying our tests are outdated. In order for this PR to be accepted you need to update the failing tests for the new implementation. |
I think for bug fixes, master is usually the branch to merge. We need to look at #2214 with this one, to determine if they are same/similar issues. |
@thierryH91200 are you able to check why tests fail? Do you forgot to update the test, if your commit will change some of the demo chart. |
Seems we cannot get this done before 3.1. removing. However this is still a high priority fix. |
@jjatie do you think we can finish test and review this for 3.1? I checked the code change is quite small. But we need to understand the fix and test it, which takes descent time. As tomorrow is the deadline, I'm not sure if we can still solve this PR |
Yes, this will need to be 4.0 |
This is an old bug
The problem is that the height is calculated 2 times
This is to avoid this kind of problem
Before
After
and i resume