data class Configuration
Chart configuration.
Configuration(type: ChartType, dataSets: List<DataSets>, labels: List<String>? = null, options: ChartOptions? = null, plugins: List<dynamic>? = null)
Chart configuration. |
val dataSets: List<DataSets> |
|
val labels: List<String>? |
|
val options: ChartOptions? |
|
val plugins: List<dynamic>? |
|
val type: ChartType |
fun <T> Any?.createInstance(vararg args: dynamic): T
Helper function for creating JavaScript objects from dynamic constructors. |
|
fun Configuration.toJs(i18nTranslator: (String) -> String): Chart.ChartConfiguration
An extension function to convert configuration class to JS object. |