chart.RdA 'shiny' module to display many types of charts available as 'htmlwidgets' with a dataframe as input
chart(input, output, session, g, setdrill = NULL, noopt = 0)
| input | is shiny input variable |
|---|---|
| output | is shiny output variable |
| session | is shiny session variable |
| g | is the graph/chart to be charted |
| setdrill | is the function chart will call upstream to set a drill value on a chart |
| noopt | is a toggle that tells chart module not to display options to change chart defaults |
The graph structure containing chart type and chart data is passed as input.
The graph/chart data is displayed in appropriate chart type with options to change to other chart types
See chartex for an example