kvision / pl.treksoft.kvision.chart / HoverOptions

HoverOptions

data class HoverOptions

Chart hover options.

Constructors

<init>

HoverOptions(mode: InteractionMode = InteractionMode.NEAREST, animationDuration: Int = 400, intersect: Boolean = true, axis: String = "x")

Chart hover options.

Properties

animationDuration

val animationDuration: Int

axis

val axis: String

intersect

val intersect: Boolean

mode

val mode: InteractionMode

Extension Functions

createInstance

fun <T> Any?.createInstance(vararg args: dynamic): T

Helper function for creating JavaScript objects from dynamic constructors.

toJs

fun HoverOptions.toJs(): dynamic

An extension function to convert configuration class to JS object.