Skip to content

Commit 00b762d

Browse files
authored
Document stack interaction with transforming scales (#4774)
Fixes #4731
1 parent c151942 commit 00b762d

File tree

2 files changed

+12
-0
lines changed

2 files changed

+12
-0
lines changed

R/position-stack.r

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -27,6 +27,12 @@
2727
#' positive values stack upwards from the x-axis and negative values stack
2828
#' downward.
2929
#'
30+
#' Because stacking is performed after scale transformations, stacking with
31+
#' non-linear scales gives distortions that easily lead to misinterpretations of
32+
#' the data. It is therefore *discouraged* to use these position adjustments in
33+
#' combination with scale transformations, such as logarithmic or square root
34+
#' scales.
35+
#'
3036
#' @family position adjustments
3137
#' @param vjust Vertical adjustment for geoms that have a position
3238
#' (like points or lines), not a dimension (like bars or areas). Set to

man/position_stack.Rd

Lines changed: 6 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)