Learn R Programming

c3 (version 0.3.0)

c3_colour: Colour Palette

Description

Manually assign colours

Usage

c3_colour(c3, colours)

Arguments

c3

c3 htmlwidget object

colours

character vector of colours

Value

c3

Examples

Run this code
# 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