R/plugins.R
dyCrosshair.RdThe dyCrosshair plugin draws a crosshair line over the point closest to the mouse when the user hovers over the graph. It has a "direction" option which is provided in the R wrapper function and then forwarded to the plugin using the "options" argument to dyPlugin.
dyCrosshair(dygraph, direction = c("both", "horizontal", "vertical"))Dygraph with Crosshair plugin enabled