hc_theme_538: Theme collection for highcharts

View source: R/theme-538.R

hc_theme_538R Documentation

Theme collection for highcharts

Description

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())

jbkunst/highcharter documentation built on March 14, 2024, 12:52 a.m.