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

Multiline label on xAxis cutting off #773

Closed
kamalahuja opened this issue Feb 24, 2016 · 1 comment
Closed

Multiline label on xAxis cutting off #773

kamalahuja opened this issue Feb 24, 2016 · 1 comment

Comments

@kamalahuja
Copy link

Thanks for writing this awesome library. Saved us lot of time. We need to display multiline label on xAxis for bar charts. I made the label as word wrap --> xAxis.wordWrapEnabled = YES; I find only first line displays in my project. Rest of characters are cutting. I tried to replicate in ChartsDemo. I changed the label "Mar test1 test2 test3 test4 test5 test6". On the screen I only see "Mar test1 test2"
multiline label

@danielgindi
Copy link
Collaborator

Labels are dynamic, and we cant know for sure how long will they be.
So you just need to add extra padding for the legend.

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