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 for missing setters in getInstance method #2856

Merged
merged 1 commit into from
May 2, 2018

Conversation

stephenmcbride
Copy link
Contributor

The zoomAndCenterAnimated method in BarLineChartBase crashes with a NullPointer exception because the yAxis variable is null when onAnimationUpdate is called. The yAxis is null because of missing setters in the getInstance method of AnimatedZoomJob.

The zoomAndCenterAnimated method in BarLineChartBase crashes with a NullPointer exception because the yAxis variable is null when onAnimationUpdate is called. The yAxis is null because of missing setters in the getInstance method of AnimatedZoomJob.
@idealllee
Copy link

hitting the same issue. Fix looks good (Thanks @stephenmcbride). @PhilJay plans to merge it anytime soon?

@dpeters1
Copy link

dpeters1 commented Sep 9, 2017

Thanks @stephenmcbride! Would love to see this merged to master.

dpeters1 added a commit to dpeters1/MPAndroidChart that referenced this pull request Sep 11, 2017
@dpeters1 dpeters1 mentioned this pull request Oct 6, 2017
@almic
Copy link
Contributor

almic commented May 2, 2018

Looks right to me. Merging.

@almic almic merged commit 0378e76 into PhilJay:master May 2, 2018
regas99 pushed a commit to regas99/MPAndroidChart that referenced this pull request Apr 1, 2019
Fix for missing setters in getInstance method
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.

4 participants