hc_annotations: Adding annotations to highcharts objects
Description
Helper function to add annotations to highcharts library.
Usage
hc_annotations(hc, ...)hc_add_annotation(hc, ...)
hc_add_annotations(hc, x)
Arguments
hc
A highchart
htmlwidget
object.
x
A list
or a data.frame
of annotations.
Details
The x
elemens must have xValue
and yValue
elements