Description Usage Arguments Examples
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.
1 2 3 4 5 |
... |
A named parameters to modify the theme. |
1 2 3 4 5 6 7 8 9 10 11 | 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.