Description Usage Arguments Details Value Examples
View source: R/pairedDTPlotlyModule.R
pairedDTplot Server
1 2 3 4 |
input |
shiny input |
output |
shiny output |
session |
shiny session |
df |
data frame to use. The first column should be identifiers, other columns should be values used for plotting |
width_dt |
width of DT, should be between 1 to 12 |
width_plot |
width of plotly plot, should be between 1 to 12 |
title |
title for the module |
value_type |
default to "none", how the values in data frame should be formatted. See more in details |
direction |
"v" or "h" plot horizontally or vertically. See more in details |
h_ignore_columns |
When plotting ,whether to ignore listed columns. |
h_reverse |
whether to reverse graph when ploting horizontally |
height |
height of DT in module, in pixels |
server |
for DT, whether to use server side processing |
value_type
:
none: no extra formatting
currency: dollar sign prefix, digits round to 0
percent: percentage sign suffix, digits round to 2
general: digits round to 2
direction
:
v: select and create pie chart using columns
h: select and create line chart using rows
DT table and plotly graph
1 2 3 4 5 | ## Not run:
# See demo:
runDemoPairedDTplotlyModule()
## End(Not run)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.