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