Description Usage Arguments Value Examples
View source: R/LineChart-functions.R
Extract the appearance settings from a plotting data frame
1 | extractGroupSettings(plotDf)
|
plotDf |
The plotting data frame to extract settings from. |
The extracted settings.
1 2 3 4 5 6 7 8 9 10 | data(ChickWeight)
plotDf = lineChart(weight ~ Time * Diet, ChickWeight, legendPosition="topleft")
#From a data frame used for plotting, extract the settings
settings = extractGroupSettings(plotDf)
settings$symbol = 21:24 #Make a small adjustment to the settings
#Re-plot the data with new settings
lineChart(weight ~ Time * Diet, ChickWeight, legendPosition="topleft", settings=settings)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.