kvision / pl.treksoft.kvision.chart / PointOptions

PointOptions

data class PointOptions

Chart point options.

Constructors

<init>

PointOptions(radius: Int = 3, pointStyle: PointStyle = PointStyle.CIRCLE, backgroundColor: Color? = null, borderWidth: Int = 1, borderColor: Color? = null, hitRadius: Int = 1, hoverRadius: Int = 4, hoverBorderWidth: Int = 1)

Chart point options.

Properties

backgroundColor

val backgroundColor: Color?

borderColor

val borderColor: Color?

borderWidth

val borderWidth: Int

hitRadius

val hitRadius: Int

hoverBorderWidth

val hoverBorderWidth: Int

hoverRadius

val hoverRadius: Int

pointStyle

val pointStyle: PointStyle

radius

val radius: Int

Extension Functions

createInstance

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

Helper function for creating JavaScript objects from dynamic constructors.

toJs

fun PointOptions.toJs(): dynamic

An extension function to convert configuration class to JS object.