Description Usage Arguments Details Value
The list will contain:
1 | ch_dygraph(id)
|
id |
character, tag to prepend to the input and output id's |
ui_controllershiny::taglist of ui elements for the controller
ui_viewshing::taglist of ui elements for the view
server_modelfunction with reactive code
The list returned by this function has to be available to both the ui and the server.
If not using the shinyApp formulation, perhaps global.R could be useful.
The list ui_controller will have members:
timeshiny::selectInput used to choose the variable for the x axis
y1shiny::selectInput used to choose the variable for the y1 axis
y2shiny::selectInput used to choose the variable for the y2 axis
The list ui_view will have members:
dygraphdygraphs::dygraphOutput showing a preview of the first few lines of the text file
The function server_model() will be called from your server function.
Its arguments are:
input, output, sessioninput, output, session values passed from your server function
rctval_data, item_datashiny::reactiveValues object, character string.
rctval_data[[item_data]] is expected to be a dataframe, input for dygraph.
rctval_dyopt, item_dyoptshiny::reactiveValues object, character string.
The default value for rctval_dyopt is rctval_dyopt.
rctval_dyopt[[rctval_dyopt]] is expected to be a list of dygraph options,
see documentation for dygraphs::dyOptions
list containing ui_controller, ui_view, and server_model
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.