View source: R/highcharts-api.R
hc_labels | R Documentation |
HTML labels that can be positioned anywhere in the chart area. This option is deprecated since v7.1.2. Instead, use annotations that support labels.
hc_labels(hc, ...)
hc |
A |
... |
Arguments defined in https://api.highcharts.com/highcharts/labels. |
highchart() |>
hc_add_series(data = sample(1:12)) |>
hc_labels(
items = list(
list(
html = "<p>Some <b>important</b><br>text</p>" ,
style = list(
left = "150%",
top = "150%"
)
)
)
)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.