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

How can we format the LABEL used for values? #3354

Closed
dhomes opened this issue Mar 20, 2018 · 1 comment
Closed

How can we format the LABEL used for values? #3354

dhomes opened this issue Mar 20, 2018 · 1 comment

Comments

@dhomes
Copy link

dhomes commented Mar 20, 2018

I have a line chart for which I'm using a IValueFormatter for the labels' text, I can also customize the labels' font and textcolor

But is there any way to access the UILabel itself for customization? I want to add a custom background color to it and also access the label's layer property (round corner, bordercolor, etc)

screen shot 2018-03-20 at 3 59 10 pm

@liuxuan30
Copy link
Member

liuxuan30 commented Mar 22, 2018

use valueFormatter and ask on stack overflow next time.
We don't have a UILabel. It's rendered by CoreGraphics so you could use CG's APIs to draw background rect.

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