| theme_hc {ggthemes} | R Documentation |
Theme based on the plots in Highcharts JS.
theme_hc(base_size = 12, base_family = "sans", bgcolor = "default")
base_size |
base font size |
base_family |
base font family |
bgcolor |
The background color of plot. One of |
http://www.highcharts.com/demo/line-basic
https://github.com/highslide-software/highcharts.com/tree/master/js/themes
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")