Learn R Programming

rlc (version 0.5.0)

listCharts: List all existing charts and layers

Description

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

Usage

listCharts()

Arguments

Examples

Run this code
if (FALSE) 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()

Run the code above in your browser using DataLab