Learn R Programming

rAmCharts (version 2.0.2)

initialize,AmLegend-method: Initializes legend of the chart

Description

Constructor for an AmLegend.

Usage

"initialize"(.Object, useGraphSettings, ...)
amLegend(useGraphSettings, ...)
legend(useGraphSettings, ...)
setUseGraphSettings(.Object, useGraphSettings)
"setUseGraphSettings"(.Object, useGraphSettings)

Arguments

.Object
AmLegend.
useGraphSettings
logical, if TRUE, border color will be changed when user rolls-over the slice, graph, etc, instead of background color.
...

Examples

Run this code
new("AmLegend", useGraphSettings = TRUE)
amLegend(useGraphSettings = FALSE)
legend(useGraphSettings = FALSE)
setUseGraphSettings(.Object = amLegend(), useGraphSettings = TRUE)

Run the code above in your browser using DataLab