amLegend: Legend

View source: R/legend.R

amLegendR Documentation

Legend

Description

Create a list of settings for a legend.

Usage

amLegend(
  position = "bottom",
  maxHeight = NULL,
  scrollable = FALSE,
  maxWidth = 220,
  itemsWidth = 20,
  itemsHeight = 20
)

Arguments

position

legend position

maxHeight

maximum height for a horizontal legend (position = "bottom" or position = "top")

scrollable

whether a vertical legend should be scrollable

maxWidth

maximum width for a vertical legend (position = "left" or position = "right"); set it to NULL for no limit

itemsWidth

width of the legend items

itemsHeight

height of the legend items

Value

A list of settings for a legend.


rAmCharts4 documentation built on Sept. 22, 2022, 5:05 p.m.