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
Unfortunately, the geom_rect get plotted over the geom_bar, which you can see here
Why doesn't plotly follow the order of ggplot layers? That is the geom_rect come first and hence the geom_bar should go over the geom_rect. This is the normal and intended behaviour of ggplot and a big part of why it is so powerful, so why doesn't plotly follow this in ggplotly?
The text was updated successfully, but these errors were encountered:
I have a ggplot where I would like to have a striped background of grey and white. I have achieved this using geom_rect, as can be seen below:
Which creates this
Now I am developing a shiny app and I would like this plot to be interactive rather than static, so I use ggplotly like so:
ggplotly(gg_growth)
Data:
Unfortunately, the geom_rect get plotted over the geom_bar, which you can see here
Why doesn't plotly follow the order of ggplot layers? That is the geom_rect come first and hence the geom_bar should go over the geom_rect. This is the normal and intended behaviour of ggplot and a big part of why it is so powerful, so why doesn't plotly follow this in ggplotly?
The text was updated successfully, but these errors were encountered: