Learn R Programming

echarts4r (version 0.4.4)

e_calendar: Calendar

Description

Calendar

Usage

e_calendar(e, range, ...)

Arguments

e

An echarts4r object as returned by e_charts or a proxy as returned by echarts4rProxy.

range

Range of calendar format, string or vector.

...

Any other option to pass, check See Also section.

See Also

Examples

Run this code
# year
mtcars |>
  e_charts() |>
  e_calendar(range = "2017")

# month
mtcars |>
  e_charts() |>
  e_calendar(range = "2018-01")

# range
mtcars |>
  e_charts() |>
  e_calendar(range = c("2018-01", "2018-07"))

Run the code above in your browser using DataLab