initialize,AmLegend-method | R Documentation |
Constructor for an AmLegend.
## S4 method for signature 'AmLegend'
initialize(.Object, useGraphSettings, ...)
amLegend(useGraphSettings, ...)
legend(useGraphSettings, ...)
setUseGraphSettings(.Object, useGraphSettings)
## S4 method for signature 'AmLegend,logical'
setUseGraphSettings(.Object, useGraphSettings)
.Object |
AmLegend. |
useGraphSettings |
|
... |
Other properties of AmLegend. See https://docs.amcharts.com/3/javascriptstockchart/AmLegend. |
new("AmLegend", useGraphSettings = TRUE)
amLegend(useGraphSettings = FALSE)
rAmCharts:::legend(useGraphSettings = FALSE)
setUseGraphSettings(.Object = amLegend(), useGraphSettings = TRUE)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.