View source: R/mod_plot_lines_plot.R
ps_plot_add_lines_maybe | R Documentation |
Given plot_ly object and a set of table of lines, add the lines to the object. Act as a passthrough if the lines table is omitted or empty.
ps_plot_add_lines_maybe(p, lines = NULL, ...)
p |
plot_ly object |
lines |
Lines to add |
... |
Additional params for plotly::add_lines |
modified plot_ly object
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.