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

Wrap text in geom_treemap_text? #9

Closed
py opened this issue Mar 10, 2017 · 3 comments
Closed

Wrap text in geom_treemap_text? #9

py opened this issue Mar 10, 2017 · 3 comments

Comments

@py
Copy link

py commented Mar 10, 2017

Great package. It's always nice to use the familiar grammar of graphics syntax.

I've been doing many treemaps lately using the treemap package. A nice feature of that package is that it will wrap label text onto multiple lines to preserve legibility.

Have you considered adding this as an option for the geom_treemap_text geom? I'll look at the code.

Thanks.

@wilkox
Copy link
Owner

wilkox commented Mar 11, 2017

This is a great idea. I'll have a look at adding something like geom_reflow_text to ggfittext, then give geom_treemap_text an argument to invoke it.

@wilkox
Copy link
Owner

wilkox commented Mar 11, 2017

@py I've added a ‘reflow’ option to geom_treemap_text and geom_treemap_subgroup_text. Let me know if you find any issues. Thanks for the suggestion!

@wilkox wilkox closed this as completed Mar 11, 2017
@py
Copy link
Author

py commented Mar 12, 2017 via email

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