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