Learn R Programming

rAmCharts4 (version 1.1.0)

amFont: Font

Description

Create a list of settings for a font.

Usage

amFont(fontSize = NULL, fontWeight = "normal", fontFamily = NULL)

Arguments

fontSize

font size, must be given as a character string like "10px" or "2em", or a numeric value, the font size in pixels

fontWeight

font weight, it can be "normal", "bold", "bolder", "lighter", or a number in seq(100, 900, by = 100)

fontFamily

font family

Value

A list of settings for a font.