View source: R/LineChart-functions.R
Create a legend based on a plotting data frame with group appearance settings
1 | legendFromPlottingDf(position, plotDf, ...)
|
position |
The position of the legend. If "CHOOSE_BEST", the best legend position is selected. Otherwise, this is passed to the 'x' argument of legend(). |
plotDf |
The plotting data frame from which settings will be extracted and used to create the legend. |
... |
A few variable arguments are passed through to legend(): y, cex, inset, title, box.lwd, and horiz. |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.