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

Line break? #13

Closed
cendt opened this issue Jul 24, 2017 · 1 comment
Closed

Line break? #13

cendt opened this issue Jul 24, 2017 · 1 comment

Comments

@cendt
Copy link

cendt commented Jul 24, 2017

Dear wilkox,
is it possible to allow line breaks for the text inside the boxes? By default, if a label is to long, the box simply stays empty. Even when the label contains of several words which could be split into several lines easily.
Best
Christian

@wilkox
Copy link
Owner

wilkox commented Jul 25, 2017

Thanks for the report Christian. geom_treemap_text has an option reflow = T that will reflow the text to fit a box. The documentation for ggfittext has some more details. Try it out and let me know if it fixes your problem!

@wilkox wilkox closed this as completed Aug 4, 2017
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