listCharts: List all existing charts and layers

Description Usage Examples

View source: R/lc.R

Description

listCharts prints a list of IDs of all existing charts and layers. This function is wrapper around method listCharts of class LCApp.

Usage

1

Examples

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
noise <- rnorm(30)
x <- seq(-4, 4, length.out = 30)

lc_scatter(dat(x = x,
               y = sin(x) + noise,
               colourValue = noise), 
           chartId = "plot", layerId = "points")
lc_line(dat(x = x, y = sin(x)), chartId = "plot", addLayer = TRUE)
lc_colourSlider(chart = "plot", layer = "points")

listCharts()

rlc documentation built on Oct. 23, 2020, 6:40 p.m.