Class: EaseMachine

EaseMachine

Defines the acceleration effect of the chart when zooming in or out. EaseMachine is a plugin. To use it, you must add "easeMachine" to the InteractionConfig plugins array.

Since:
  • 9.4.0

Type Definitions


EaseMachineConfig

Algorithm for chart zoom action.

Type:
Properties:
Name Type Argument Default Description
export string <optional>

Name of the exported class, usually "EaseMachine".

zoomAnimation ZoomAnimationTypes <optional>
'easeOutCubic'

Type of animation to apply to the zoom action.

Since:
  • 9.4.0


ZoomAnimationTypes

Possible values of the EaseMachineConfig object's zoomAnimation property.

Type:
  • 'easeInOutCubic' | 'easeOutCubic' | 'easeInOutQuad'
Since:
  • 9.4.0