getLegendList | R Documentation |
Function to get legend information from ggplot
getLegendList(plistextra)
plistextra |
output from ggplot_build(p) |
list containing information for each legend
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.