Skip to contents

Highcharts is very flexible so you can modify every element of the chart. There are some exiting themes so you can apply style to charts with few lines of code.

Usage

hc_theme_538(...)

hc_theme_sparkline_vb(...)

hc_theme_tufte2(...)

Arguments

...

A named parameters to modify the theme.

Examples


highcharts_demo() %>%
  hc_add_theme(hc_theme_538())
highcharts_demo() %>% hc_add_theme(hc_theme_sparkline_vb())
highchart() %>% hc_chart(type = "column") %>% hc_add_series(data = round(1 + abs(rnorm(12)), 2), showInLegend = FALSE) %>% hc_xAxis(categories = month.abb) %>% hc_add_theme(hc_theme_tufte2())