addGraph: Generates HTML/plotly code for a new graph

View source: R/plotlyGraphs.R

addGraphR Documentation

Generates HTML/plotly code for a new graph

Description

Generates HTML/plotly code for a new graph

Usage

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

Value

none, just pre-allocate in the main workspace

Examples

addGraph(list(periods, values))
addGraph(list(periods, values),options)

lazypomelo/plotlyjs documentation built on May 24, 2023, 1:41 p.m.