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

Fix offsets not adjusted on autoscale #5251

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

yaugenka
Copy link

@yaugenka yaugenka commented Jan 26, 2022

Fixes #5237, Fixes #2826.

calculateOffsets needs to be called after computeAxis because the size of labels can change after the latter.
Also the view port handler needs to be refreshed after that to take the new offsets into account.

@Paget96
Copy link

Paget96 commented Dec 11, 2022

I really like this library and using it in my apps, I would like to call people to continue with this awesome thing. I have forked the repo and started working on it! So I am ready as well to accept pull requests, I'll notify other people from here as well!
Would be more than happy if we continue with this awesome project.

Code is full kotlin now!

Make your pull requests here:
https://github.com/Paget96/MPAndroidChart

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 this pull request may close these issues.

Y-axis gets shfted on data reload when autoscale is enabled Inconsistency of AxisMax and AxisMin
2 participants