initialize-AmLegend: Initializes legend of the chart

initialize,AmLegend-methodR Documentation

Initializes legend of the chart

Description

Constructor for an AmLegend.

Usage

## S4 method for signature 'AmLegend'
initialize(.Object, useGraphSettings, ...)

amLegend(useGraphSettings, ...)

legend(useGraphSettings, ...)

setUseGraphSettings(.Object, useGraphSettings)

## S4 method for signature 'AmLegend,logical'
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.

...

Other properties of AmLegend. See https://docs.amcharts.com/3/javascriptstockchart/AmLegend.

Examples

new("AmLegend", useGraphSettings = TRUE)
amLegend(useGraphSettings = FALSE)
rAmCharts:::legend(useGraphSettings = FALSE)
setUseGraphSettings(.Object = amLegend(), useGraphSettings = TRUE)

rAmCharts documentation built on Sept. 30, 2022, 5:06 p.m.