Description Usage Arguments Value See Also Examples
Use RColorBrewer palettes
1 2 3 4 | RColorBrewer(c3, pal = "Spectral")
## S3 method for class 'c3'
RColorBrewer(c3, pal = "Spectral")
|
c3 |
c3 htmlwidget object |
pal |
character palette must match 'RColorBrewer::brewer.pal.info' |
c3
Other c3: c3
, grid
,
legend
, region
,
subchart
, tooltip
,
xAxis
, zoom
1 2 3 | data.frame(a = c(1,2,3,2), b = c(2,4,1,5), c = c(5,3,4,1)) %>%
c3() %>%
RColorBrewer()
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.