kvision / pl.treksoft.kvision.chart / AnimationOptions

AnimationOptions

(js) data class AnimationOptions

Chart animation options.

Constructors

(js)

<init>

Chart animation options.

AnimationOptions(duration: Int = 1000, easing: Eeasing = Eeasing.EASEOUTQUART, onProgress: ((obj: ChartAnimationObject) -> Unit)? = null, onComplete: ((obj: ChartAnimationObject) -> Unit)? = null)

Properties

(js)

duration

val duration: Int
(js)

easing

var easing: Eeasing
(js)

onComplete

val onComplete: ((obj: ChartAnimationObject) -> Unit)?
(js)

onProgress

val onProgress: ((obj: ChartAnimationObject) -> Unit)?

Extension Functions

(js)

toJs

An extension function to convert configuration class to JS object.

fun AnimationOptions.toJs(): dynamic