amDateAxisFormatter: Date axis formatter

View source: R/axisLabels.R

amDateAxisFormatterR Documentation

Date axis formatter

Description

Create a list of settings for formatting the labels of a date axis, to be passed on to the formatter argument of amAxisLabels.

Usage

amDateAxisFormatter(
  day = c("dd", "MMM dd"),
  week = c("dd", "MMM dd"),
  month = c("MMM", "MMM yyyy")
)

Arguments

day, week, month

vectors of length two, the first component is a formatting string for the dates within a period, and the second one is a formatting string for the dates at a period change; see Formatting date and time

Value

A list of settings for formatting the labels of a date axis.


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