Skip to content

position_dodge is broken for geom_bar(stat="bin") #51

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

Closed
mkcor opened this issue Jun 17, 2014 · 3 comments
Closed

position_dodge is broken for geom_bar(stat="bin") #51

mkcor opened this issue Jun 17, 2014 · 3 comments
Labels

Comments

@mkcor
Copy link
Contributor

mkcor commented Jun 17, 2014

(For when PR #50 is merged.)

Load the following dataset as dat:
https://docs.google.com/a/plot.ly/spreadsheets/d/1Rk6bwVpwxKdkrphQoKsIp8S2gdorMuyGkmMj1XsQK3g

ggplot(dat, aes(x=type, fill=manufacturer)) + geom_bar(position="dodge")

renders something weird when applied the ggplotly() method.
Meanwhile, position="identity" and position="stack" (default) behave as expected.

@mkcor mkcor added the bug label Jun 17, 2014
@mkcor
Copy link
Contributor Author

mkcor commented Jun 20, 2014

Okay, so this is due to a bug in RJSONIO, which is fixed in the development code on GitHub (duncantl/RJSONIO@f5c1d26). Thank you, @xsaintmleux.
We are looking forward to the next release!

@xsaintmleux
Copy link

RJSONIO has been fixed, we should be able to make this work now.

@mkcor
Copy link
Contributor Author

mkcor commented Oct 22, 2014

Fixed by PR #129 (see https://plot.ly/~marianne2/92) although x-axis is not perfect (category).

@mkcor mkcor closed this as completed Oct 22, 2014
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants