HoverOptions

data class HoverOptions(mode: InteractionMode, animationDuration: Int, intersect: Boolean, axis: String)

Chart hover options.

Constructors

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

Properties

animationDuration
Link copied to clipboard
val animationDuration: Int = 400
axis
Link copied to clipboard
val axis: String
intersect
Link copied to clipboard
val intersect: Boolean = true
mode
Link copied to clipboard
val mode: InteractionMode

Extensions

toJs
Link copied to clipboard
fun HoverOptions.toJs(): dynamic
An extension function to convert configuration class to JS object.