Learn R Programming

highcharter (version 0.9.4)

hc_add_annotation: Helper to add annotations from data frame or list

Description

Helper to add annotations from data frame or list

Usage

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 elements must have xValue and yValue elements