amAxisBreaks: Axis breaks

View source: R/axisLabels.R

amAxisBreaksR 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


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