kvision / pl.treksoft.kvision.chart / RectangleOptions

RectangleOptions

(js) data class RectangleOptions

Chart rectangle options.

Constructors

(js)

<init>

Chart rectangle options.

RectangleOptions(backgroundColor: Color? = null, borderColor: Color? = null, borderWidth: Int = 0, borderSkipped: Position = Position.BOTTOM)

Properties

(js)

backgroundColor

val backgroundColor: Color?
(js)

borderColor

val borderColor: Color?
(js)

borderSkipped

val borderSkipped: Position
(js)

borderWidth

val borderWidth: Int

Extension Functions

(js)

toJs

An extension function to convert configuration class to JS object.

fun RectangleOptions.toJs(): dynamic