Initialise a chart.
Usage
e_charts(
data,
x,
width = NULL,
height = NULL,
elementId = NULL,
dispose = TRUE,
draw = TRUE,
renderer = "canvas",
timeline = FALSE,
...,
reorder = TRUE
)
# S3 method for default
e_charts(
data,
x,
width = NULL,
height = NULL,
elementId = NULL,
dispose = TRUE,
draw = TRUE,
renderer = "canvas",
timeline = FALSE,
...,
reorder = TRUE
)
# S3 method for Node
e_charts(
data,
x,
width = NULL,
height = NULL,
elementId = NULL,
dispose = TRUE,
draw = TRUE,
renderer = "canvas",
timeline = FALSE,
...,
reorder = TRUE
)
e_charts_(
data,
x = NULL,
width = NULL,
height = NULL,
elementId = NULL,
dispose = TRUE,
draw = TRUE,
renderer = "canvas",
timeline = FALSE,
...,
reorder = TRUE
)
e_chart(
data,
x,
width = NULL,
height = NULL,
elementId = NULL,
dispose = TRUE,
draw = TRUE,
renderer = "canvas",
timeline = FALSE,
...,
reorder = TRUE
)
e_data(e, data, x)
Arguments
- data
A
data.frame
.- x
Column name containing x axis.
- width, height
Must be a valid CSS unit (like
'100%'
,'400px'
,'auto'
) or a number, which will be coerced to a string and have'px'
appended.- elementId
Id of element.
- dispose
Set to
TRUE
to force redraw of chart, set toFALSE
to update.- draw
Whether to draw the chart, intended to be used with
e_draw_p
.- renderer
Renderer, takes
canvas
(default) orsvg
.- timeline
Set to
TRUE
to build a timeline, see timeline section.- ...
Any other argument.
- reorder
Set the
FALSE
to not reorder numeric x axis values.- e
An object of class
echarts4r
as returned bye_charts
.