powered by
Manually assign colours
c3_colour(c3, colours)
c3 htmlwidget object
character vector of colours
c3
# NOT RUN { data.frame(a = c(1,2,3,2), b = c(2,4,1,5)) %>% c3() %>% c3_colour(c('red','black')) # }
Run the code above in your browser using DataLab