kvision / pl.treksoft.kvision.chart / LineOptions

LineOptions

(js) data class LineOptions

Chart line options.

Constructors

(js)

<init>

Chart line options.

LineOptions(cubicInterpolationMode: InterpolationMode = InterpolationMode.DEFAULT, tension: Double = 0.2, backgroundColor: Color? = null, borderWidth: Int = 1, borderColor: Color? = null, borderCapStyle: LineCap? = null, borderDash: List<Any>? = null, borderDashOffset: Int = 0, borderJoinStyle: LineJoin? = null, capBezierPoints: Boolean = true, fill: Boolean = true, stepped: Boolean = false)

Properties

(js)

backgroundColor

val backgroundColor: Color?
(js)

borderCapStyle

val borderCapStyle: LineCap?
(js)

borderColor

val borderColor: Color?
(js)

borderDash

val borderDash: List<Any>?
(js)

borderDashOffset

val borderDashOffset: Int
(js)

borderJoinStyle

val borderJoinStyle: LineJoin?
(js)

borderWidth

val borderWidth: Int
(js)

capBezierPoints

val capBezierPoints: Boolean
(js)

cubicInterpolationMode

val cubicInterpolationMode: InterpolationMode
(js)

fill

val fill: Boolean
(js)

stepped

val stepped: Boolean
(js)

tension

val tension: Double

Extension Functions

(js)

toJs

An extension function to convert configuration class to JS object.

fun LineOptions.toJs(): dynamic