kvision / pl.treksoft.kvision.chart / Configuration

Configuration

(js) data class Configuration

Chart configuration.

Constructors

(js)

<init>

Chart configuration.

Configuration(type: ChartType, dataSets: List<DataSets>, labels: List<String>? = null, options: ChartOptions? = null, plugins: List<dynamic>? = null)

Properties

(js)

dataSets

val dataSets: List<DataSets>
(js)

labels

val labels: List<String>?
(js)

options

val options: ChartOptions?
(js)

plugins

val plugins: List<dynamic>?
(js)

type

val type: ChartType

Extension Functions

(js)

toJs

An extension function to convert configuration class to JS object.

fun Configuration.toJs(i18nTranslator: (String) -> String): ChartConfiguration