Become an expert in R — Interactive courses, Cheat Sheets, certificates and more!
Get Started for Free

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
)

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

Value

A list of settings for the labels of an axis.

Note

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


rAmCharts4

Interface to the JavaScript Library 'amCharts 4'

v1.3.1
GPL-3
Authors
Stéphane Laurent [aut, cre], Antanas Marcelionis [ctb, cph] ('amCharts' library (https://www.amcharts.com/)), Terence Eden [ctb, cph] ('SuperTinyIcons' library (https://github.com/edent/SuperTinyIcons/)), Tom Alexander [ctb, cph] ('regression-js' library (https://github.com/Tom-Alexander/regression-js))
Initial release

We don't support your browser anymore

Please choose more modern alternatives, such as Google Chrome or Mozilla Firefox.