uplot: Test

View source: R/uPlot.R

uplotR Documentation

Test

Description

Test

Usage

uplot(df_data, opts, width = NULL, height = NULL, elementId = NULL, digits = 4)

Arguments

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.

Examples


## 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)

Nithador/ruplot documentation built on Sept. 19, 2024, 11:27 a.m.