hc_themed | R Documentation |
Custom Highcharts theme
hc_themed( hc, title = NULL, subtitle = NULL, label = NULL, x = NULL, y = NULL, base_font = "national-web-book", axes = TRUE, exporting = TRUE, credits = FALSE, ... )
hc |
a highchart object |
title |
chart title |
subtitle |
chart subtitle |
label |
optional annotation |
base_font |
default font for all chart elements |
axes |
show axes (default: TRUE) |
exporting |
include chart export menu (default: TRUE) |
credits |
include credits (default: FALSE) |
... |
Arguments passed on to |
data <- data.table( x = Sys.Date() + 0:9, y = rnorm(10) ) hchart(data, "line", hcaes(x, y)) %>% hc_themed()
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.