amAxisBreaks {rAmCharts4}R Documentation

Axis breaks

Description

Create an object defining the breaks on an axis.

Usage

amAxisBreaks(
  values = NULL,
  labels = NULL,
  interval = NULL,
  timeInterval = NULL
)

Arguments

values

positions of the breaks, a vector of values; for a date axis, this must be a vector of dates

labels

if values is given, the labels of the breaks; if NULL, the labels are set to the values

interval

for equally spaced breaks, the number of pixels between two consecutive breaks; ignored if values is given

timeInterval

for equally spaced breaks on a date axis, this option defines the interval between two consecutive breaks; it must be a string like "1 day", "7 days", "1 week", "2 months", ...; ignored if values or interval is given


[Package rAmCharts4 version 1.6.0 Index]