You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This is do-able, but fiddly because you have to figure out the size of the text at draw time - this means effectively you have to create a custom grid grob. However, I vaguely remember seeing that somewhere, so I'll see it's available.
It would also be useful to expose the check.overlap argument - it's not perfect (since you can't control what gets removed) but it might be helpful in some situations.
Will make time to read the grob section in an attempt to aquire them. Would you recommend this to go into core ggplot2 or an add-on package in the unlikely event that I can do something with this or in the likelier event that someone else can?
Will be useful for ggmap.
Related question: are there any elements of ggmap that need to adjust to accomodate ggplot2 1.0.0?
Activity
hadley commentedon Jun 11, 2015
This is do-able, but fiddly because you have to figure out the size of the text at draw time - this means effectively you have to create a custom grid grob. However, I vaguely remember seeing that somewhere, so I'll see it's available.
It would also be useful to expose the
check.overlapargument - it's not perfect (since you can't control what gets removed) but it might be helpful in some situations.Robinlovelace commentedon Jun 11, 2015
Worth asking the QGIS guys how they do it I'd say. I'll look into it. Cheers.
Pass check_overlap on to textGrob. #1039
hadley commentedon Jun 15, 2015
I think the right way to tackle this is to develop a new grid grob. Here's a start from Paul Murrell:
I don't have the time to develop it further at the moment.
Robinlovelace commentedon Jun 15, 2015
Cool.
And I don't think I have the skills!
Will make time to read the grob section in an attempt to aquire them. Would you recommend this to go into core ggplot2 or an add-on package in the unlikely event that I can do something with this or in the likelier event that someone else can?
Will be useful for ggmap.
Related question: are there any elements of ggmap that need to adjust to accomodate ggplot2 1.0.0?
t-kalinowski commentedon Mar 12, 2018
Any updates on this? A halo option for text labels would be useful.
lock commentedon Sep 8, 2018
This old issue has been automatically locked. If you believe you have found a related problem, please file a new issue (with reprex) and link to this issue. https://reprex.tidyverse.org/