class anychart.core.utils.Animation Improve this Doc
Extends: anychart.core.Base
Animation class. The animation class is used in maps.
Methods Overview
| Specific settings | |
| duration() | Animation duration. |
| Interactivity | |
| enabled() | Animation state (enabled or disabled). |
Methods Description
duration
Setter for animation duration in milliseconds.
See sample at anychart.core.Chart#animation.
Params:
| Name | Type | Default | Description |
|---|---|---|---|
| duration | number | 1000 | Animation duration to set. |
Returns:
anychart.core.utils.Animation - Self instance for method chaining.enabled
Setter for the animation enabled state.
See sample at anychart.core.Chart#animation.
See sample at anychart.core.Chart#animation.
Params:
| Name | Type | Default | Description |
|---|---|---|---|
| enabled | boolean | false | Enabled state to set. |
Returns:
anychart.core.utils.Animation - Self instance for method chaining.