kvision / pl.treksoft.kvision.chart / RectangleOptions

RectangleOptions

data class RectangleOptions

Chart rectangle options.

Constructors

<init>

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

Chart rectangle options.

Properties

backgroundColor

val backgroundColor: Color?

borderColor

val borderColor: Color?

borderSkipped

val borderSkipped: Position

borderWidth

val borderWidth: Int

Extension Functions

createInstance

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

Helper function for creating JavaScript objects from dynamic constructors.

toJs

fun RectangleOptions.toJs(): dynamic

An extension function to convert configuration class to JS object.