e_animation {echarts4r} | R Documentation |
Animation
Description
Customise animations.
Usage
e_animation(
e,
show = TRUE,
threshold = NULL,
duration = NULL,
easing = NULL,
delay = NULL,
duration.update = NULL,
easing.update = NULL,
delay.update = NULL
)
Arguments
e |
An |
show |
Set to show animation. |
threshold |
Whether to set graphic number threshold to animation. Animation will be disabled when graphic number is larger than threshold. |
duration |
Duration of the first animation. |
easing |
Easing method used for the first animation. |
delay |
Delay before updating the first animation. |
duration.update |
Time for animation to complete. |
easing.update |
Easing method used for animation. |
delay.update |
Delay before updating animation. |
See Also
Examples
mtcars |>
e_charts(mpg) |>
e_area(drat) |>
e_animation(duration = 10000)
[Package echarts4r version 0.4.5 Index]