kvision / pl.treksoft.kvision.chart.js

Package pl.treksoft.kvision.chart.js

Kotlin bindings for chart.js API.

Types

Chart

open external class Chart

Defaults

external interface Defaults

Meta

external interface Meta

MetaData

external interface MetaData

Model

external interface Model

PluginServiceGlobalRegistration

external interface PluginServiceGlobalRegistration

PluginServiceRegistrationOptions

external interface PluginServiceRegistrationOptions

PluginServiceStatic

open external class PluginServiceStatic

Functions

get

operator fun Defaults.get(key: String): Any?
operator fun Chart.Positioners.get(mode: String): ((elements: Array<Any>, eventPosition: Chart.Point) -> Chart.Point)?
operator fun Chart.ChartPluginsOptions.get(pluginId: String): Any?

set

operator fun Defaults.set(key: String, value: Any): Unit
operator fun Chart.Positioners.set(mode: String, value: (elements: Array<Any>, eventPosition: Chart.Point) -> Chart.Point): Unit
operator fun Chart.ChartPluginsOptions.set(pluginId: String, value: Any): Unit