trait Animation (View source)

Methods

Chart
animationEasing( string $easing = 'linear')

Animation Easing

Chart
animationDuration( mixed $duration)

Animation Duration

Details

at line 20
Chart animationEasing( string $easing = 'linear')

Animation Easing

The easing function applied to the animation. The following options are available: 'linear' - Constant speed. 'in' - Ease in - Start slow and speed up. 'out' - Ease out - Start fast and slow down. 'inAndOut' - Ease in and out - Start slow, speed up, then slow down.

Parameters

string $easing

Return Value

Chart

at line 47
Chart animationDuration( mixed $duration)

Animation Duration

The duration of the animation, in milliseconds.

Parameters

mixed $duration

Return Value

Chart