powered by
Customise animations.
e_animation( e, show = TRUE, threshold = NULL, duration = NULL, easing = NULL, delay = NULL, duration.update = NULL, easing.update = NULL, delay.update = NULL )
An echarts4r object as returned by e_charts or a proxy as returned by echarts4rProxy.
echarts4r
e_charts
echarts4rProxy
Set to show animation.
Whether to set graphic number threshold to animation. Animation will be disabled when graphic number is larger than threshold.
Duration of the first animation.
Easing method used for the first animation.
Delay before updating the first animation.
Time for animation to complete.
Easing method used for animation.
Delay before updating animation.
Additional arguments
mtcars |> e_charts(mpg) |> e_area(drat) |> e_animation(duration = 10000)
Run the code above in your browser using DataLab