Description Usage Arguments Value
View source: R/dygraph_add_limits.R
Dygraph: add (multiple) horizontal lines to plot
1 2 | dygraph_add_limits(dygraph, limits_df, label_loc = "left",
col_limits = "ParameterThreshold", col_label = "label", ...)
|
dygraph |
a dygraph object where (possibly) multiple horizontal lines should be added |
limits_df |
dataframe containing the limits information to be added to the dygraph (e.g. as retrieved by function get_thresholds()) |
label_loc |
Location for horizontal dygraph labels (left or right). (default: "left) |
col_limits |
column in limits_df containing the limits values (default: "ParameterThreshold") |
col_label |
column in limits_df containing the label values (default: "label") |
... |
further arguments passed to dygraphs::dyLimit() |
add limits to existing dygraph object
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.