create_calendar_chart: Generic calendar chart generator

View source: R/helpers-charts.R

create_calendar_chartR Documentation

Generic calendar chart generator

Description

Generic calendar chart generator

Usage

create_calendar_chart(
  calendar_data,
  title,
  subtitle = NULL,
  start_date = NULL,
  end_date = NULL,
  callback = NULL
)

Arguments

calendar_data

Calendar chart data.

title

Chart title.

subtitle

Chart subtitle.

start_date

Default to minimum calendar_data date. Could also be an input value with Shiny.

end_date

Default to maximum calendar_data date. Could also be an input value with Shiny.

callback

JS function to pass to onRender. This is useful to access the widget API on the R side at render time and add events on the fly.

Value

An echarts4r calendar chart


RinteRface/connectViz documentation built on Feb. 3, 2024, 10:40 a.m.