View source: R/helpers-charts.R
create_app_daily_session_chart | R Documentation |
Generic calendar chart generator
create_app_daily_session_chart(
calendar_data,
title = "Cumulated daily usage",
subtitle = "time units: minutes",
start_date = NULL,
end_date = NULL,
callback = NULL
)
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. |
An echarts4r line chart
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.