Add a horizontal limit line to a dygraph
dyLimit(dygraph, limit, label = NULL, labelLoc = c("left", "right"),
color = "black", strokePattern = "dashed")Dygraph to add limit line to
Numeric position of limit.
Label for limit. Defaults to blank.
Location for label (left or right).
Color of limit line. This can be of the form "#AABBCC" or "rgb(255,100,200)" or "yellow". Defaults to black.
A predefined stroke pattern type ("dotted", "dashed", "dotdash", or "solid") or a custom pattern array where the even index is a draw and odd is a space in pixels. Defaults to dashed.
A dygraph with the specified limit line.
See the online documentation for additional details and examples.