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

Can I change fonts of labels on x And y axis in a bar graph. #832

Closed
niksdgr8 opened this issue Mar 11, 2016 · 4 comments
Closed

Can I change fonts of labels on x And y axis in a bar graph. #832

niksdgr8 opened this issue Mar 11, 2016 · 4 comments

Comments

@niksdgr8
Copy link

I am making an universal app where I have to run it on iPhone as well as iPad. So is there a way to control the font sizes of the lables on x and y axis.

@niksdgr8
Copy link
Author

I am sorry. I got what I needed. I am sorry to be asking fairly dumb questions consistently. Actually I am fairly new to iOS and do not have a lot of experience on how to look out for things. But I am learning these things consistently

@pmairoldi
Copy link
Collaborator

No questions are dumb questions. Don't be sorry. :)

@harrisonlo
Copy link

@niksdgr8 How did you change the font size of the labels? I'm fairly new to Swift too and couldn't find the documentation for this...

@harrisonlo
Copy link

Nevermind I got it, I'll just put it here for future references:

barChartView.xAxis.labelFont = UIFont.systemFont(ofSize: 20)

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

4 participants