addGraph | R Documentation |
Generates HTML/plotly code for a new graph
addGraph(
...,
x = c(),
type = c(),
title = "",
vline = c(),
legend = c(),
xlabel = "",
ylabel = "",
colors = c(),
by = "",
lineWidth = NA,
width = 600,
height = 450,
style = "",
clear = F,
layout = list(),
config = list()
)
none, just pre-allocate in the main workspace
addGraph(list(periods, values))
addGraph(list(periods, values),options)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.