plotly: plotly

Description Usage Arguments Details

View source: R/plotly.R

Description

A 'shiny' module to display 'plot_ly' chart with options

Usage

1
plotly(input, output, session, g, setdrill = NULL, noopt = 0)

Arguments

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

Details

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


modchart documentation built on March 15, 2021, 5:07 p.m.