kvision / pl.treksoft.kvision.chart / ArcOptions

ArcOptions

data class ArcOptions

Chart arc options.

Constructors

<init>

ArcOptions(backgroundColor: Color? = null, borderColor: Color? = null, borderWidth: Int = 2)

Chart arc options.

Properties

backgroundColor

val backgroundColor: Color?

borderColor

val borderColor: Color?

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 ArcOptions.toJs(): dynamic

An extension function to convert configuration class to JS object.