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

Support custom formatting of chart labels #750

Closed
franqueli opened this issue Feb 11, 2016 · 1 comment
Closed

Support custom formatting of chart labels #750

franqueli opened this issue Feb 11, 2016 · 1 comment

Comments

@franqueli
Copy link
Contributor

We have a use case where we need some custom logic when displaying a label on a bar chart. A zero value would at times need to be labeled N/A. I don't think the current interface makes it easy to support this.

I've implemented this functionality modeled after MPAndroidChart's ValueFormatter interface.
Changes can be viewed in this git repo.
https://github.com/franqueli/ios-charts/tree/ValueFormatterProtocol

@danielgindi
Copy link
Collaborator

Implemented in Charts 3.0 (v3 branch)

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

No branches or pull requests

2 participants