We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
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
ggplotly() renders a layered bar chart incorrectly; results in stacked bars, see the figures. Any way to remedy? Thanks, Kimmo
data_before = data.frame( year = c(2014,2014,2014,2015,2015,2015,2016,2016,2016), pet = c("dog","cat","bird","dog","cat","bird","dog","cat","bird"), wt = c(56, 25, 26, 10, 19, 41, 16, 17, 13) ) data_after = data.frame( year = c(2014,2014,2014,2015,2015,2015,2016,2016,2016), pet = c("dog","cat","bird","dog","cat","bird","dog","cat","bird"), wt = c(49, 18, 19, 3, 12, 34, 9, 10, 6) ) ggplot()+ geom_bar(data=data_before,aes(year,wt,fill=pet),stat="identity",position="dodge",width = 0.9,alpha=0.5)+ geom_bar(data=data_after,aes(year,wt,fill=pet),stat="identity",position="dodge",width = 0.9)+ xlab("Year") + ylab("Weight") ggplotly()
ggplot chart (correct):
ggplotly() render (incorrect)
The text was updated successfully, but these errors were encountered:
explicit bar positioning and proper inverse transforming of dates via…
71e29b4
… dynamicTicks fixes #560, #874, #901, #831
No branches or pull requests
Uh oh!
There was an error while loading. Please reload this page.
ggplotly() renders a layered bar chart incorrectly; results in stacked bars, see the figures. Any way to remedy? Thanks, Kimmo
ggplot chart (correct):

ggplotly() render (incorrect)

The text was updated successfully, but these errors were encountered: