Skip to contents

These functions can be used to modify the theme of a highcharts plot.

Usage

hc_purple_theme(hc)

hc_samarqand_theme(hc)

hc_pomogreen_theme(hc)

hc_jerusalem_theme(hc)

hc_web_theme(hc)

hc_dark_web_theme(hc)

Arguments

hc

A highcharts object

Value

A highcharts object

Examples

highcharter::hchart(
  cars, "point",
  highcharter::hcaes(x = speed, y = dist)
) |>
  hc_purple_theme()
#> Registered S3 method overwritten by 'quantmod':
#>   method            from
#>   as.zoo.data.frame zoo 
highcharter::hchart( cars, "point", highcharter::hcaes(x = speed, y = dist) ) |> hc_samarqand_theme()
highcharter::hchart( cars, "point", highcharter::hcaes(x = speed, y = dist) ) |> hc_web_theme()