Uses of Class
org.pepstock.charba.client.options.NativeInterpolator
-
Packages that use NativeInterpolator Package Description org.pepstock.charba.client.commons Core classes to manage the inter-operations with java script code.org.pepstock.charba.client.options Contains all elements to configure charts at global level (know as chart global options). -
-
Uses of NativeInterpolator in org.pepstock.charba.client.commons
Methods in org.pepstock.charba.client.commons with parameters of type NativeInterpolator Modifier and Type Method Description protected void
NativeObjectContainer. setValue(Key key, NativeInterpolator value)
Sets a value (native interpolator function for animations) in the embedded JavaScript object at specific property.protected void
AbstractNode. setValueAndAddToParent(Key key, NativeInterpolator value)
Sets a value (interpolator function for animations) in the embedded JavaScript object at specific property.protected void
PropertyHandler. setValueAndAddToParent(Key key, NativeInterpolator value)
Sets a value (interpolator function for animations) in the embedded JavaScript object at specific property. -
Uses of NativeInterpolator in org.pepstock.charba.client.options
Methods in org.pepstock.charba.client.options that return NativeInterpolator Modifier and Type Method Description static NativeInterpolator
NativeInterpolator. create(String code)
Creates a callback in java script.
All options in the configuration which can be set like scriptable, can be set with a native callback.
The callback can receive only 3 arguments:
from: the initial value of element property to:the target value of element property factor: a value between 0 and 1 (inclusive) with the factor of animationMethods in org.pepstock.charba.client.options with parameters of type NativeInterpolator Modifier and Type Method Description void
AnimationCollection. setInterpolator(NativeInterpolator interpolator)
Sets a custom animation interpolator in java script code.
-