hrbrmstr / taucharts

:bar_chart: An R htmlwidget interface to the TauCharts javascript library
http://rpubs.com/hrbrmstr/taucharts
Other
65 stars 10 forks source link

How to disable dodge on color in tau_bar() #56

Open Yang-Tang opened 9 years ago

Yang-Tang commented 9 years ago

In tau_bar(x, y, color, size, horizontal), is it possible to disable dodge or use tau_stacked_bar() automatically, if color==x or (horizontal==T && color==y)

For example: mtcars %>% dplyr::mutate(cyl=factor(cyl)) %>% tauchart() %>% tau_bar('cyl', 'mpg', 'cyl')