plotly.R
plotly.R copied to clipboard
Issues with geom_boxplot(position = "dodge")
I am using ggplot to generate the boxplot in server.r But when I am trying to show plot on ui using ggplotly through renderPlotly() in shiny, plot is getting changed.
Please refer attached R-code and image of plot getting generated.
@romabhu thanks for the report, there's a WIP for fixing the issue #1514. Feel free to give it a test run
devtools::install_github("ropensci/plotly#1514")
@cpsievert , thanks for sharing this in progress version. I have tried it, it is working fine.
Please let me know, when can this changed be merged with current plotly package and deployed. So that we can install it from cran.
Any update on this issue?
Any update on this issue?
p <-ggplot(dfmelt, aes(x=factor(round_any(x,0.5)), y=value,fill=variable)) + geom_boxplot()
ggplotly(p) %>% layout(boxmode = "group")
Any update on this issue?
p <-ggplot(dfmelt, aes(x=factor(round_any(x,0.5)), y=value,fill=variable)) + geom_boxplot() ggplotly(p) %>% layout(boxmode = "group")
Thanks, this saved me some headaches!
any solution for using position dodge with geom_point?
layout(boxmode = "group")
does not work in this case