uplot | R Documentation |
Test
uplot(df_data, opts, width = NULL, height = NULL, elementId = NULL, digits = 4)
df_data |
data.frame with data. First column is deciding time and needs to be ascending |
opts |
list of options |
width |
integer, widget width |
height |
integer, widget height |
elementId |
HTML container element ID |
digits |
how many decimanl digits should JSON parser use? Use I() to specify significant digits. Use NA for max precision. Higher number results in much slower parsing. Default is 4. |
## Not run:
df_data <- data.frame(x = 1:100,
y = rnorm(100))
options <- list(title = "My Chart",
id = "chart1",
class = "my-chart",
width = 800,
height = 600,
scales = list(x = list(time = FALSE)),
series = list(NULL,
list(stroke = "red",
width = 1,
label = "Test")))
uplot(df_data,
options)
## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.