Description Usage Arguments Details Examples
Add animations
| 1 2 3 | eanimation(p, animation = TRUE, addDataAnimation = TRUE,
  animationThreshold = 2000, animationDuration = 2000,
  animationDurationUpdate = 500, animationEasing = "ExponentialOut", ...)
 | 
| p | an echart objects. | 
| animation | whether to show the initial animation. | 
| addDataAnimation | specifies whether the dynamic data interface animation will be enabled. | 
| animationThreshold | threshold of animated elements. | 
| animationDuration | duration of animation, in ms. | 
| animationDurationUpdate | duration of the update animation, in ms. | 
| animationEasing | easing effect, see details for valid values. | 
| ... | any other options. | 
linear
QuadraticIn
QuadraticOut
QuadraticInOut
CubicIn
CubicOut
CubicInOut
QuarticIn
QuarticOut
QuarticInOut
SinusoidalIn
SinusoidalOut
SinusoidalInOut
ExponentialIn
ExponentialOut
ExponentialInOut
CircularIn
CircularOut
CircularInOut
ElasticIn
ElasticOut
ElasticInOut
BackIn
BackOut
BackInOut
BounceIn
BounceOut
BounceInOut
| 1 2 3 4 5 6 7 8 9 | mtcars %>%
  echart(mpg) %>%
  ebar(qsec) %>%
  eanimation(animationEasing = "BounceIn")
mtcars %>%
  echart(mpg) %>%
  escatter(qsec, drat, symbolSize = 20) %>%
  eanimation(animationEasing = "CubicInOut")
 | 
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.