#' @include internal.R
NULL
#' Live plot
#'
#' Create a live plot.
#'
#' @param ... TODO
#'
#' @export
liveplot <- function(message, width = 200, height = 0, elementId = NULL) {
# forward options using x
x = list()
# create widget
htmlwidgets::createWidget(
name = 'liveplot',
x,
width = width,
height = height,
package = 'realtime',
elementId = elementId
)
}
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.