Optional
durationThe duration of the animation in milliseconds. Must be positive or 0. Defaults to defaults.fit.duration.
Optional
easeAn easing function for the animation that adjusts the speed of the animation.
For some example easing functions, see http://easings.net/ or https://gist.github.com/gre/1650294.
When omitted, defaults to defaults.fit.ease.
a number in range [0,1]
a number in range [0,1]
The options for an animation.