Learn R Programming

c3 (version 0.3.0)

c3_color: Color Palette

Description

Manually assign colors

Usage

c3_color(c3, colors)

Arguments

c3

c3 htmlwidget object

colors

character vector of colors

Value

c3

Examples

Run this code
# NOT RUN {
data.frame(a = c(1,2,3,2), b = c(2,4,1,5)) %>%
  c3() %>%
  c3_color(c('red','black'))

# }

Run the code above in your browser using DataLab