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
Sometimes axis labels (for categorical axis) are too long and the text should flow, just like the reflow option of ggfittext. Could ggfittext be expanded to use on axis labels as well, or is this outside the scope?
The text was updated successfully, but these errors were encountered:
I landed here after seeing this question on SO to see if this has been suggested yet.
To make a few superficial suggestions, I think it might in theory be possible to write element_text() subclass for fitted text along with a custom element_grob() method. See for example ggtext's element_markdown() implementation. You might have the element_grob() method output a fittexttree gTree, which would then be rendered with the already existing makeContent method. Of course, this is all easier to suggest than to implement!
Sometimes axis labels (for categorical axis) are too long and the text should flow, just like the reflow option of ggfittext. Could ggfittext be expanded to use on axis labels as well, or is this outside the scope?
The text was updated successfully, but these errors were encountered: