Skip to content

Can't make stacked-bar #588

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
ThoDuyNguyen opened this issue May 19, 2016 · 1 comment
Closed

Can't make stacked-bar #588

ThoDuyNguyen opened this issue May 19, 2016 · 1 comment

Comments

@ThoDuyNguyen
Copy link

I use the code from here to make the stacked-bar

https://plot.ly/r/bar-charts/

But what I got is a graph contained bar and line (for data from add_trace)

My session info:

Session info ---------------------------------------------
 setting  value                       
 version  R version 3.3.0 (2016-05-03)
 system   x86_64, mingw32             
 ui       RStudio (0.99.902)          
 language (EN)                        
 collate  English_United States.1252  
 tz       Asia/Bangkok                
 date     2016-05-19                  

Packages -------------------------------------------------
 package       * version date       source        
 assertthat      0.1     2013-12-06 CRAN (R 3.3.0)
 base64enc       0.1-3   2015-07-28 CRAN (R 3.3.0)
 colorspace      1.2-6   2015-03-11 CRAN (R 3.3.0)
 DBI             0.4-1   2016-05-08 CRAN (R 3.3.0)
 devtools        1.11.1  2016-04-21 CRAN (R 3.3.0)
 digest          0.6.9   2016-01-08 CRAN (R 3.3.0)
 dplyr           0.4.3   2015-09-01 CRAN (R 3.3.0)
 flexdashboard   0.2.0   2016-05-18 CRAN (R 3.3.0)
 ggplot2       * 2.1.0   2016-03-01 CRAN (R 3.3.0)
 gridExtra       2.2.1   2016-02-29 CRAN (R 3.3.0)
 gtable          0.2.0   2016-02-26 CRAN (R 3.3.0)
 htmltools       0.3.5   2016-03-21 CRAN (R 3.3.0)
 htmlwidgets     0.6     2016-02-25 CRAN (R 3.3.0)
 httr            1.1.0   2016-01-28 CRAN (R 3.3.0)
 jsonlite        0.9.20  2016-05-10 CRAN (R 3.3.0)
 knitr           1.13    2016-05-09 CRAN (R 3.3.0)
 magrittr        1.5     2014-11-22 CRAN (R 3.3.0)
 memoise         1.0.0   2016-01-29 CRAN (R 3.3.0)
 munsell         0.4.3   2016-02-13 CRAN (R 3.3.0)
 plotly        * 3.6.0   2016-05-18 CRAN (R 3.3.0)
 plyr            1.8.3   2015-06-12 CRAN (R 3.3.0)
 R6              2.1.2   2016-01-26 CRAN (R 3.3.0)
 Rcpp            0.12.5  2016-05-14 CRAN (R 3.3.0)
 rmarkdown       0.9.6   2016-05-01 CRAN (R 3.3.0)
 scales          0.4.0   2016-02-26 CRAN (R 3.3.0)
 tidyr           0.4.1   2016-02-05 CRAN (R 3.3.0)
 viridis         0.3.4   2016-03-12 CRAN (R 3.3.0)
 withr           1.0.1   2016-02-04 CRAN (R 3.3.0)
 yaml            2.1.13  2014-06-12 CRAN (R 3.3.0)
@cpsievert
Copy link
Collaborator

Thanks. That example is using some old deprecated code. See here for a fix -- plotly/documentation#387

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants