e_line {echarts4r} | R Documentation |
Line
Description
Add line serie.
Usage
e_line(
e,
serie,
bind,
name = NULL,
legend = TRUE,
y_index = 0,
x_index = 0,
coord_system = "cartesian2d",
...
)
e_line_(
e,
serie,
bind = NULL,
name = NULL,
legend = TRUE,
y_index = 0,
x_index = 0,
coord_system = "cartesian2d",
...
)
Arguments
e |
An |
serie |
Column name of serie to plot. |
bind |
Binding between datasets, namely for use of |
name |
name of the serie. |
legend |
Whether to add serie to legend. |
x_index , y_index |
Indexes of x and y axis. |
coord_system |
Coordinate system to plot against. |
... |
Any other option to pass, check See Also section. |
See Also
Examples
iris |>
group_by(Species) |>
e_charts(Sepal.Length) |>
e_line(Sepal.Width) |>
e_tooltip(trigger = "axis")
# timeline
iris |>
group_by(Species) |>
e_charts(Sepal.Length, timeline = TRUE) |>
e_line(Sepal.Width) |>
e_tooltip(trigger = "axis")
[Package echarts4r version 0.4.5 Index]