amFont: Font

View source: R/font.R

amFontR Documentation

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.

Note

There is no option for the font style.


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