Description Usage Arguments Author(s) Examples
Push data to a ShinyDash graph.
1 2 | sendGraphData(outputId, expr, env = parent.frame(),
quoted = FALSE, session = get("session", envir = env))
|
outputId |
The name of the output element to update. |
expr |
An expression that returns an R list with
named elements corresponding to the series of data to be
included in the graph. The default x variable will be the
current time; this behavior can be overridden by
providing a list element named |
env |
The environment in which to evaluate
|
quoted |
Is |
session |
The current Shiny session into which we should send the messages to update the graph. |
Jeff Allen <jeff.allen@trestletechnology.net>
1 2 3 4 5 6 7 8 9 | ## Not run:
sendGraphData("my_graph", {
list(
y0 = 15.3,
y1 = 13.2
)
})
## End(Not run)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.