tinyIcon {rAmCharts4}R Documentation

Icons

Description

Icons for usage in amImage.

Usage

tinyIcon(icon, backgroundColor = NULL)

tinyIcons()

shinyAppTinyIcons()

Arguments

icon

name of an icon; tinyIcons() returns the list of available icons, and shinyAppTinyIcons() runs a Shiny app which displays the available icons

backgroundColor

background color of the icon (possibly "transparent")

Value

A base64 string that can be used in the href argument of amImage.

Note

A color can be given by the name of a R color, the name of a CSS color, e.g. "transparent" or "fuchsia", an HEX code like "#ff009a", a RGB code like "rgb(255,100,39)", or a HSL code like "hsl(360,11,255)".


[Package rAmCharts4 version 1.6.0 Index]