A '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)
is shiny input variable
is shiny output variable
is shiny session variable
is the graph/chart to be charted
is the function chart will call upstream to set a drill value on a chart
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