A 'shiny' module to display 'plot_ly' chart with options
plotly(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 to 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
Options for 'plotly' are provided for bar, line, scatter and pie charts
Common options are tick angle for x axis, margin width/height, vertical or horizontal orientation, color/palette
Additional option for bar chart option is stacked bar chart
Additional options for line chart option are line type, line shape, and area fill
Additional options for pie chart option are donut size and clockwise/counter-clockwise drawing