The chart's subtitle. This can
be used both to display a subtitle below the main title, and to display
random text anywhere in the chart. The subtitle can be updated after
chart initialization through the Chart.setTitle method.
Arguments
- hc
A
highcharthtmlwidgetobject.- ...
Options defined in https://api.highcharts.com/highcharts/subtitle.
Examples
# Add context below the title while retaining the data source.
highcharts_demo() |>
hc_subtitle(
text = "Four cities, two hemispheres, opposite seasons<br/>ERA5 via Open-Meteo",
align = "left"
)
