Learn R Programming

rAmCharts4 (version 1.6.0)

amAxisLabels: Axis labels

Description

Create a list of settings for the labels of an axis.

Usage

amAxisLabels(
  color = NULL,
  fontSize = 18,
  fontWeight = "normal",
  fontFamily = NULL,
  rotation = 0,
  formatter = NULL
)

amAxisLabelsCircular( color = NULL, fontSize = 14, fontWeight = "normal", fontFamily = NULL, radius = NULL, relativeRotation = NULL )

Value

A list of settings for the labels of an axis.

Arguments

color

color of the labels

fontSize

size of the labels

fontWeight

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

fontFamily

font family of the labels

rotation

rotation angle

formatter

this option defines the format of the axis labels; this should be a number formatting string for a numeric axis, and a list created with amDateAxisFormatter for a date axis

radius

radius in percentage

relativeRotation

relative rotation angle