RectangleOptions

data class RectangleOptions(backgroundColor: Color?, borderColor: Color?, borderWidth: Int, borderSkipped: Position)

Chart rectangle options.

Constructors

RectangleOptions
Link copied to clipboard
js
fun RectangleOptions(backgroundColor: Color? = null, borderColor: Color? = null, borderWidth: Int = 0, borderSkipped: Position = Position.BOTTOM)

Properties

backgroundColor
Link copied to clipboard
js
val backgroundColor: Color? = null
borderColor
Link copied to clipboard
js
val borderColor: Color? = null
borderSkipped
Link copied to clipboard
js
val borderSkipped: Position
borderWidth
Link copied to clipboard
js
val borderWidth: Int = 0

Extensions

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