February 2019
Beginner to intermediate
284 pages
6h 20m
English
You should have noted that when you click the button, the lines don't move to their new positions immediately. The chart transitions smoothly, and it takes about a second. Transitions triggered by calling update() will automatically use standard animation configurations.
There are two animation properties you can easily change. They are listed as follows:
|
Property |
Values |
Description |
|
Duration |
Number |
The duration of the animation in milliseconds. The default is 1,000 (one second). |
|
Easing |
'linear', 'easeInQuad', 'easeOutQuad', 'easeInOutQuad', 'easeInCubic', 'easeOutCubic', 'easeInOutCubic', 'easeInQuart', 'easeOutQuart', 'easeInOutQuart', 'easeInQuint', 'easeOutQuint', 'easeInOutQuint', 'easeInSine' ... |
Read now
Unlock full access