theme_highcharter: Highchart(er) themes

hc_theme_tempsR Documentation

Highchart(er) themes

Description

Some helpers to get a Le Temps look for highcharter

Usage

hc_theme_temps

hc_theme_TA

hc_theme_lt

style_tam_highcharter()

style_ta_highcharter()

htmlwidgetgrid_css()

Format

An object of class hc_theme of length 8.

An object of class hc_theme of length 8.

An object of class hc_theme of length 8.

See Also

http://jkunst.com/highcharter/themes.html#create-themes

Examples

require(highcharter)
require(dqnTheme)
data(diamonds, mpg, package = "ggplot2")
hchart(mpg, "scatter", 
  hcaes(x = displ, y = hwy, group = class)) %>% 
  hc_add_theme(hc_theme_temps) %>% 
  hc_title(text = "super catchy title") %>% 
  hc_subtitle(text = "a description of what the hell is shown")

hchart(mpg, "scatter", 
  hcaes(x = displ, y = hwy, group = class)) %>% 
  hc_add_theme(hc_theme_TA) %>% 
  hc_title(text = "Super catchy title") %>% 
  hc_subtitle(text = "A description of what the hell is shown")

data(diamonds, mpg, package = "ggplot2")
hchart(mpg, "scatter", 
  hcaes(x = displ, y = hwy, group = class)) %>% 
  hc_add_theme(hc_theme_lt) %>% 
  hc_title(text = "Super cool catchy title") %>% 
  hc_subtitle(text = "A long detailed description of what the hell is shown")
style_tam_highcharter()
style_ta_highcharter()
# A modified version of highcharter's htmlwdgtgrid.css, with much less margin on mobile
htmlwidgetgrid_css()

d-qn/tamTheme documentation built on Feb. 8, 2023, 10:46 a.m.