removeLayer {rlc} | R Documentation |
Remove a layer from a chart
Description
Removes a layer from an existing chart. Changes will be applied to all currently opened and future pages.
This function is a wrapper around method removeLayer
of
class LCApp
.
Usage
removeLayer(chartId, layerId)
Arguments
chartId |
ID of the chart from which to remove a layer. |
layerId |
ID of the layer to remove. |
Examples
## Not run: lc_scatter(dat(x = 1:10, y = 1:10 * 2), chartId = "scatter")
lc_abLine(a = 2, b = 0, chartId = "scatter", addLayer = TRUE)
removeLayer("scatter", "Layer1")
## End(Not run)
[Package rlc version 0.5.0 Index]