amLegend | R Documentation |
Create a list of settings for a legend.
amLegend( position = "bottom", maxHeight = NULL, scrollable = FALSE, maxWidth = 220, itemsWidth = 20, itemsHeight = 20 )
position |
legend position |
maxHeight |
maximum height for a horizontal legend
( |
scrollable |
whether a vertical legend should be scrollable |
maxWidth |
maximum width for a vertical legend
( |
itemsWidth |
width of the legend items |
itemsHeight |
height of the legend items |
A list of settings for a legend.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.