| setProperties | R Documentation | 
Sets or resets properties for an
existing chart. Changes will be applied to all currently opened and future pages.
This function is a wrapper around method setProperties of class LCApp.
setProperties(data, chartId, layerId = NULL, with = NULL)
data | 
 List of properties to be redefined for this layer or chart. Created by the   | 
chartId | 
 ID of the chart, for which to redefine properties.  | 
layerId | 
 ID of the layer, for which to redefine properties. If the chart has a single layer or doesn't have layers, default value (which is NULL) can be used.  | 
with | 
 A dataset or a list from which other properties should be taken. If the dataset doesn't have a
column with the requested name, the variable will be searched for outside of the dataset. Must be
a   | 
## Not run: data("iris")
lc_scatter(dat(x = iris$Sepal.Length, y = iris$Sepal.Width), chartId = "irisScatter")
setProperties(dat(symbolValue = iris$Species, y = iris$Petal.Length), chartId = "irisScatter")
updateCharts("irisScatter")
lc_line(dat(x = iris$Sepal.Length, y = iris$Petal.Length), chartId = "irisScatter", 
        layerId = "line")
setProperties(dat(colour = "red"), chartId = "irisScatter", layerId = "line")
updateCharts("irisScatter")
## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.