2

How can I disable the Stacked option in a multiBarChart produced by rCharts.

data <- data.frame(Var = c(1, 2, 3, 4),
                   Fac1 = rep(c("A" ,"B"), 2),
                   Fac2 = rep(c("Blue", "Red"), each=2))

require(rCharts)    

n1 <- nPlot(Var ~ Fac2, group = "Fac1", data = data, type = "multiBarChart")
n1
Michael Kirchner
  • 869
  • 1
  • 7
  • 17
Mario
  • 316
  • 3
  • 14

1 Answers1

2
n1$chart(showControls = FALSE)
krthkskmr
  • 461
  • 5
  • 22