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

Display highlighted entry values on the axes #5249

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

Conversation

yaugenka
Copy link

@yaugenka yaugenka commented Jan 19, 2022

Resolves #222, Resolves #3879, Resolves #3872, Resolves #3669, Resolves #3550, Resolves #3352, Resolves #3269.

If y-axis uses the default value formater then the highlighted label value will be of the same precision as the normal labels.
Highlighted labels width is not taken into account when the longest label is calculated. That means if an y-axis highlighted label is longer than the normal labels it will get out of the axis bounds.

XAxis offsets computation has been moved from Utils.drawXAxisValue into a separate function to make it accessable to XAxisRender.drawHighlightLabels.

Inspired by PR #4477.

@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
2 participants