c3_color {c3} | R Documentation |
Color Palette
Description
Manually assign colors
Usage
c3_color(c3, colors)
Arguments
c3 |
c3 htmlwidget object |
colors |
character vector of colors |
Value
c3
Examples
data.frame(a = c(1,2,3,2), b = c(2,4,1,5)) %>%
c3() %>%
c3_color(c('red','black'))
[Package c3 version 0.3.0 Index]