Constructor for an AmLegend.
# S4 method for AmLegend
initialize(.Object, useGraphSettings, ...)amLegend(useGraphSettings, ...)
legend(useGraphSettings, ...)
setUseGraphSettings(.Object, useGraphSettings)
# S4 method for AmLegend,logical
setUseGraphSettings(.Object, useGraphSettings)
AmLegend.
logical
,
if TRUE, border color will be changed when user rolls-over the slice, graph,
etc, instead of background color.
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)
Run the code above in your browser using DataLab