hc_theme_538 | R Documentation |
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.
hc_theme_538(...)
hc_theme_sparkline_vb(...)
hc_theme_tufte2(...)
... |
A named parameters to modify the theme. |
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())
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.