Free Access Week-  Data Engineering + BI
Data engineering and BI courses are free!
Free AI Access Week from June 2-8

rAmCharts (version 1.1.1)

initialize,AmLegend-method: Initialize

Description

Initialize

Constructor for an AmLegend.

Setter for useGraphSettings.

Usage

## S3 method for class 'AmLegend':
initialize(.Object, useGraphSettings, ...)

amLegend(useGraphSettings, ...)

setUseGraphSettings(.Object, useGraphSettings)

## S3 method for class 'AmLegend,logical': setUseGraphSettings(.Object, useGraphSettings)

Arguments

.Object
AmLegend.
useGraphSettings
logical. If this is set to TRUE, border color instead of background color will be changed when user rolls-over the slice, graph, etc.
...
Other properties of AmLegend. See http://docs.amcharts.com/3/javascriptstockchart/AmLegend.

Functions

  • amLegend:

Examples

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

Run the code above in your browser using DataLab