| e_step | R Documentation | 
Add step serie.
e_step(
  e,
  serie,
  bind,
  step = c("start", "middle", "end"),
  fill = FALSE,
  name = NULL,
  legend = TRUE,
  y_index = 0,
  x_index = 0,
  coord_system = "cartesian2d",
  ...
)
e_step_(
  e,
  serie,
  bind = NULL,
  step = c("start", "middle", "end"),
  fill = FALSE,
  name = NULL,
  legend = TRUE,
  y_index = 0,
  x_index = 0,
  coord_system = "cartesian2d",
  ...
)
e | 
 An   | 
serie | 
 Column name of serie to plot.  | 
bind | 
 Binding between datasets, namely for use of   | 
step | 
 Step type, one of   | 
fill | 
 Set to fill as area.  | 
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.  | 
USArrests |>
  tibble::rownames_to_column("State") |> 
  e_charts(State) |>
  e_step(Murder, name = "Start", step = "start", fill = TRUE) |>
  e_step(Rape, name = "Middle", step = "middle") |>
  e_step(Assault, name = "End", step = "end") |>
  e_tooltip(trigger = "axis")
# timeline
iris |>
  group_by(Species) |>
  e_charts(Sepal.Length, timeline = TRUE) |>
  e_step(Sepal.Width) |>
  e_tooltip(trigger = "axis")
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.