Annotate a series
annotateSeries(dygraph, series, x = 0, text = series, tooltip = series,
width = 50, ...)
Dygraph to add an annotation to
Series to attach the annotation to. By default, the last series
defined using dySeries
.
Either numeric or date value indicating where to place the
annotation. For date value, this should be of class POSIXct
or
convertible to POSIXct
.
Text to overlay on the chart at the location of x
Additional tooltip text to display on mouse hover
Width (in pixels) of the annotation flag.
Further arguments passed to link[dygraphs]{dyAnnotation}
A helper function that changes the order of some options for link[dygraphs]{dyAnnotation}
so it is easier to use with reduce
.