create_app_daily_session_chart: Generic calendar chart generator

View source: R/helpers-charts.R

create_app_daily_session_chartR Documentation

Generic calendar chart generator

Description

Generic calendar chart generator

Usage

create_app_daily_session_chart(
  calendar_data,
  title = "Cumulated daily usage",
  subtitle = "time units: minutes",
  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 line chart


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