-
-
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
Custom label for LineChart #1248
Comments
See my posts on this elsewhere. |
I wasn't asking for PR, just wondering if it was possible. Sounds like the answer is no at this time? |
yea it is possible. |
Do you have a link to thread that explains how or the class/method I can use please? I've been searching on here and stack overflow for days. Thanks! |
So, I suggested that you look at my posts. If you don't know how to filter issues based on a user, you should learn. It will be helpful to you. Filtering based on me turns up several related to NSNumberFormatter, which need only a quick scan, including #943 which includes the following:
So, in other words, you mentioned wanting something other than NSNumberFormatter to format emojis. In this case, if you know where you would pass an NSNumberFormatter, you can instead pass your own subclass of NSNumberFormatter that overrides stringFromNumber to return emojis. I assume these are unicode emojis, so returning the unicode would cause charts to draw the emoji. |
Is it possible to change the labels on the LineChart that doesn't involve NSNumberFormatter? For example, I'm mapping integers to Emoji's in a rating system and would like to display the Emoji rather than the integer.
Thanks!
The text was updated successfully, but these errors were encountered: