LineOptions

data class LineOptions(cubicInterpolationMode: InterpolationMode, tension: Double, backgroundColor: Color?, borderWidth: Int, borderColor: Color?, borderCapStyle: LineCap?, borderDash: List<Any>?, borderDashOffset: Int, borderJoinStyle: LineJoin?, capBezierPoints: Boolean, fill: Boolean, stepped: Boolean)

Chart line options.

Constructors

LineOptions
Link copied to clipboard
fun 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

backgroundColor
Link copied to clipboard
val backgroundColor: Color? = null
borderCapStyle
Link copied to clipboard
val borderCapStyle: LineCap? = null
borderColor
Link copied to clipboard
val borderColor: Color? = null
borderDash
Link copied to clipboard
val borderDash: List<Any>? = null
borderDashOffset
Link copied to clipboard
val borderDashOffset: Int = 0
borderJoinStyle
Link copied to clipboard
val borderJoinStyle: LineJoin? = null
borderWidth
Link copied to clipboard
val borderWidth: Int = 1
capBezierPoints
Link copied to clipboard
val capBezierPoints: Boolean = true
cubicInterpolationMode
Link copied to clipboard
val cubicInterpolationMode: InterpolationMode
fill
Link copied to clipboard
val fill: Boolean = true
stepped
Link copied to clipboard
val stepped: Boolean = false
tension
Link copied to clipboard
val tension: Double = 0.2

Extensions

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