Description Usage Arguments Aspect Examples
Animate various aspects of the chart.
1 | mobile_animate(m, aspect, ...)
|
m |
An object of class |
aspect |
Aspect to animate, see section below for valid values. |
... |
Named options from the official documentation. |
Valid aspect
:
axis-label
axis-grid
axis-tick
axis-line
line
area
bar
path
point
polygon
schema
1 2 3 4 5 6 7 8 9 | mobile(cars, aes(speed, dist)) %>%
mobile_point() %>%
mobile_animate(
"point",
appear = list(
animation = 'fadeIn',
duration = 5000
)
)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.