-
-
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
improvement: custom labels on BarChart #1095
Comments
It's a little obscure to figure out the difference, what you want to achieve? I guess value formatter can take care of the prefix and appendix |
this graph displays daily value of some vitamins, as an example. |
I see. For now, I would suggest you do some customizations to meet your goal. |
no worries, I reached my goal by doing this way. I just wanted to share my suggestion |
+1 |
Yes, and there are many open issues... |
I am trying to as much as possible to label them. BTW, congrats |
Implemented in Charts 3.0 (v3 branch) |
if in file HorizontalBarChartRenderer.swift (line 310) change :
let valueText = formatter.stringFromNumber(val)!
to:
and add this label to
it will add custom labels to chart
The text was updated successfully, but these errors were encountered: