R: Highcharts JS theme

theme_hc {ggthemes} | R Documentation

## Highcharts JS theme

### Description

Theme based on the plots in Highcharts JS.

### Usage

    theme_hc(base_size = 12, base_family = "sans", bgcolor = "default")

### Arguments

`base_size` | base font size
`base_family` | base font family
`bgcolor` | The background color of plot. One of `'default', 'darkunica'`, the names of values in `ggthemes_data$hc$bg`.

### References

http://www.highcharts.com/demo/line-basic

https://github.com/highslide-software/highcharts.com/tree/master/js/themes

### Examples

    library("ggplot2")
    p <- ggplot(mtcars) + geom_point(aes(x = wt, y = mpg,
         colour=factor(gear))) + facet_wrap(~am)
    p + theme_hc() + scale_colour_hc()
    p + theme_hc(bgcolor = 'darkunica') + scale_colour_hc('darkunica')

[Package ggthemes version 3.4.2 Index]