hc_themed_vb: Custom Highcharts theme for sparklines

View source: R/hc_themed.R

hc_themed_vbR Documentation

Custom Highcharts theme for sparklines

Description

This theme is used inside value boxes.

Usage

hc_themed_vb(hc, ...)

Arguments

hc

a highchart object

...

Arguments passed on to highcharter::hc_theme

Examples

data <- data.table(
  x = Sys.Date() + 0:9,
  y = rnorm(10)
)

hchart(data, "line", hcaes(x, y)) %>%
  hc_themed_vb() %>%
  hc_chart(backgroundColor=pal[["red"]])


mbacou/WADashboard documentation built on Jan. 3, 2023, 6:21 p.m.