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
I'm using stat summary to compute statistics directly in the graph and show a label for it, for example showing the 90% percentile.
The computed value is passed to the label aesthetic using after_stat and that works fine when there are no axis transformations, but with a log10 transformation the label is in the right place but the text is after the transformation and but before the transformation.
From the documentation I would expect after_stat to be before any scale transformation.
Looks like it, yes. I has searched at "label" and "after_stat"; didn't think the issue affected other mappings (it doesn't in my example for some reason)
I'm using stat summary to compute statistics directly in the graph and show a label for it, for example showing the 90% percentile.
The computed value is passed to the label aesthetic using
after_stat
and that works fine when there are no axis transformations, but with a log10 transformation the label is in the right place but the text is after the transformation and but before the transformation.From the documentation I would expect after_stat to be before any scale transformation.
Works fine with regular scale:
Wrong text with log10 transformation:
The text was updated successfully, but these errors were encountered: