Closed corybrunson closed 5 years ago
Related: The internal handling of the label
aesthetic is very opaque and should be made clear and consistent across the stat layers.
The formatter
parameter might work, but it is only relevant to the use of an alluvial stat with a text geom. Moreover, in every use case i've experimented with, the fit-text geom plays well with the alluvial stat. I'm closing this issue for now, though it may be reopened if new needs arise. I'll open a separate issue for the internal handling of the label
aesthetic.
This SO question illustrates a major problem with how the stat layers handle the
label
aesthetic, namely that they either aggregate numeric values but use default formatting or get confused when numeric values are already formatted into strings. Theformatter
param ofgeom_fit_text()
can be adapted into ggalluvial and will solve this problem.