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_controller
shiny::taglist
of ui elements for the controller
ui_view
shing::taglist
of ui elements for the view
server_model
function 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:
time
shiny::selectInput
used to choose the variable for the x axis
y1
shiny::selectInput
used to choose the variable for the y1 axis
y2
shiny::selectInput
used to choose the variable for the y2 axis
The list ui_view
will have members:
dygraph
dygraphs::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, session
input, output, session values passed from your server function
rctval_data, item_data
shiny::reactiveValues
object, character string.
rctval_data[[item_data]]
is expected to be a dataframe, input for dygraph.
rctval_dyopt, item_dyopt
shiny::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.