hc_add_theme: Add themes to a highchart object

Description Usage Arguments Examples

View source: R/theme.R

Description

Add highcharts themes to a highchart object.

Usage

1
hc_add_theme(hc, hc_thm)

Arguments

hc

A highchart object

hc_thm

A highchart theme object ("hc_theme" class)

Examples

1
2
3
4
5
6
highchart() %>% 
  hc_add_series(data = c(7.0, 6.9, 9.5, 14.5, 18.2, 21.5, 25.2,
                        26.5, 23.3, 18.3, 13.9, 9.6),
                        type = "column") %>% 
  hc_add_theme(hc_theme_sandsignika())
  

highcharter documentation built on May 30, 2017, 1:47 a.m.

Search within the highcharter package
Search all R packages, documentation and source code