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

Export GeomFitText #17

Open
seasmith opened this issue Jan 24, 2020 · 1 comment
Open

Export GeomFitText #17

seasmith opened this issue Jan 24, 2020 · 1 comment

Comments

@seasmith
Copy link

Exporting makes the Geom accessible to other packages. For example, it could be used to fit labels within parallel sets and parallel labels in the ggforce package.

@wilkox
Copy link
Owner

wilkox commented Jan 24, 2020

This is a good idea – I'll consider it for the next major release.

In the meantime, most of the actual text resizing code is in makeContent.fittexttree() which is exported. This is how I draw the text labels in treemapify and gggenes for example.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants