kvision / pl.treksoft.kvision.chart / ElementsOptions

ElementsOptions

data class ElementsOptions

Chart elements options.

Constructors

<init>

ElementsOptions(point: PointOptions? = null, line: LineOptions? = null, arc: ArcOptions? = null, rectangle: RectangleOptions? = null)

Chart elements options.

Properties

arc

val arc: ArcOptions?

line

val line: LineOptions?

point

val point: PointOptions?

rectangle

val rectangle: RectangleOptions?

Extension Functions

createInstance

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

Helper function for creating JavaScript objects from dynamic constructors.

toJs

fun ElementsOptions.toJs(): dynamic

An extension function to convert configuration class to JS object.