-
Notifications
You must be signed in to change notification settings - Fork 2.1k
geom_area not working with negative values and two categories in 3.2.1 #3498
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Comments
I don't think its the same problem as described in issues 2802 and 2803 library(ggplot2) date <- as.Date(c("2019-07-31","2019-07-31","2019-08-01","2019-08-01","2019-08-02","2019-08-02","2019-08-03","2019-08-03")) data<- data.frame(date,category,variable,value) |
Yes, it is most likely caused by #3471. |
That one is obviously on me. We need some visual tests for these stacking situations |
@thomasp85 FYI #3401 looks like it solves this issue, but these stacking issues seem to be a whack-a-mole situation so I agree we need visual tests. |
Thanks! that will help with the debugging... srsly positions are the worst! seemingly simple and yet so so brittle |
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/ |
I am using geom_area for stacked area chart showing cumulative results for categories.
For some series the cumulative result turns negative from time to time and this have been working nicely with versions of ggplot2 until 3.2.0 was released. Some things have been fixed with the 3.2.1 release but I experince an issue when I have more than one category and using the category for the fill. I notice an ealier issue #3390 with similar problem but that has been closed now or ?
The text was updated successfully, but these errors were encountered: