plotly.Rd
A 'shiny' module to display 'plot_ly' chart with options
plotly(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 to 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 |
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