public class AnimationOptions extends BaseOption
Maps to the Highcharts.AnimationOptionsObject data type.
Example: chart.animation
ref: https://api.highcharts.com/highcharts/chart.animation
Modifier and Type | Field and Description |
---|---|
static AnimationOptions |
NULL |
Constructor and Description |
---|
AnimationOptions() |
Modifier and Type | Method and Description |
---|---|
Function |
getComplete()
A callback function to exectute when the animation finishes.
|
Number |
getDefer()
The animation defer in milliseconds.
|
Number |
getDuration()
The animation duration in milliseconds.
|
Function |
getEasingAsFunction()
The name of an easing function as defined on the Math object.
|
String |
getEasingAsString()
The name of an easing function as defined on the Math object.
|
Function |
getStep()
A callback function to execute on each step of each attribute or CSS property that's being animated.
|
AnimationOptions |
setComplete(Function complete)
A callback function to exectute when the animation finishes.
|
AnimationOptions |
setDefer(Number defer)
The animation defer in milliseconds.
|
AnimationOptions |
setDuration(Number duration)
The animation duration in milliseconds.
|
AnimationOptions |
setEasing(Function easingAsFunction)
The name of an easing function as defined on the Math object.
|
AnimationOptions |
setEasing(String easingAsString)
The name of an easing function as defined on the Math object.
|
AnimationOptions |
setStep(Function step)
A callback function to execute on each step of each attribute or CSS property that's being animated.
|
set_hcNulledOption
public static final AnimationOptions NULL
public Function getComplete()
public AnimationOptions setComplete(Function complete)
complete
- the value for the complete optionpublic Number getDefer()
public AnimationOptions setDefer(Number defer)
defer
- the value for the defer optionpublic Number getDuration()
public AnimationOptions setDuration(Number duration)
duration
- the value for the duration optionpublic Function getEasingAsFunction()
public AnimationOptions setEasing(Function easingAsFunction)
easingAsFunction
- the value for the easingAsFunction optionpublic String getEasingAsString()
public AnimationOptions setEasing(String easingAsString)
easingAsString
- the value for the easingAsString optionpublic Function getStep()
public AnimationOptions setStep(Function step)
step
- the value for the step optionCopyright © 2023. All rights reserved.