kvision / pl.treksoft.kvision.chart / PointOptions

PointOptions

(js) data class PointOptions

Chart point options.

Constructors

(js)

<init>

Chart point options.

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)

Properties

(js)

backgroundColor

val backgroundColor: Color?
(js)

borderColor

val borderColor: Color?
(js)

borderWidth

val borderWidth: Int
(js)

hitRadius

val hitRadius: Int
(js)

hoverBorderWidth

val hoverBorderWidth: Int
(js)

hoverRadius

val hoverRadius: Int
(js)

pointStyle

val pointStyle: PointStyle
(js)

radius

val radius: Int

Extension Functions

(js)

toJs

An extension function to convert configuration class to JS object.

fun PointOptions.toJs(): dynamic