dygraph_add_limits: Dygraph: add (multiple) horizontal lines to plot

Description Usage Arguments Value

View source: R/dygraph_add_limits.R

Description

Dygraph: add (multiple) horizontal lines to plot

Usage

1
2
dygraph_add_limits(dygraph, limits_df, label_loc = "left",
  col_limits = "ParameterThreshold", col_label = "label", ...)

Arguments

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()

Value

add limits to existing dygraph object


KWB-R/aquanes.report documentation built on Sept. 10, 2019, 8:04 a.m.