data class Configuration
Chart configuration.
(js)
<init> |
Chart configuration. Configuration(type: ChartType, dataSets: List<DataSets>, labels: List<String>? = null, options: ChartOptions? = null, plugins: List<dynamic>? = null) |
(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 |
(js)
toJs |
An extension function to convert configuration class to JS object. fun Configuration.toJs(i18nTranslator: (String) -> String): ChartConfiguration |