e_list {echarts4r} | R Documentation |
List
Description
simply pass a list of options, similar to a JSON
.
Usage
e_list(e, list, append = FALSE)
Arguments
e |
An |
list |
A |
append |
if |
Examples
N <- 20 # data points
opts <- list(
xAxis = list(
type = "category",
data = LETTERS[1:N]
),
yAxis = list(
type = "value"
),
series = list(
list(
type = "line",
data = round(runif(N, 5, 20))
)
)
)
e_charts() |>
e_list(opts)
[Package echarts4r version 0.4.5 Index]