kvision / pl.treksoft.kvision.chart.js / PluginServiceRegistrationOptions

PluginServiceRegistrationOptions

external interface PluginServiceRegistrationOptions

Properties

afterDatasetDraw

open val afterDatasetDraw: (chartInstance: Chart, easing: String, options: Any?) -> Unit

afterDatasetUpdate

open val afterDatasetUpdate: (chartInstance: Chart, options: Any?) -> Unit

afterDatasetsDraw

open val afterDatasetsDraw: (chartInstance: Chart, easing: String, options: Any?) -> Unit

afterDatasetsUpdate

open val afterDatasetsUpdate: (chartInstance: Chart, options: Any?) -> Unit

afterDraw

open val afterDraw: (chartInstance: Chart, easing: String, options: Any?) -> Unit

afterEvent

open val afterEvent: (chartInstance: Chart, event: Event, options: Any?) -> Unit

afterInit

open val afterInit: (chartInstance: Chart, options: Any?) -> Unit

afterLayout

open val afterLayout: (chartInstance: Chart, options: Any?) -> Unit

afterRender

open val afterRender: (chartInstance: Chart, options: Any?) -> Unit

afterScaleUpdate

open val afterScaleUpdate: (chartInstance: Chart, options: Any?) -> Unit

afterTooltipDraw

open val afterTooltipDraw: (chartInstance: Chart, tooltipData: Any?, options: Any?) -> Unit

afterUpdate

open val afterUpdate: (chartInstance: Chart, options: Any?) -> Unit

beforeDatasetDraw

open val beforeDatasetDraw: (chartInstance: Chart, easing: String, options: Any?) -> Unit

beforeDatasetUpdate

open val beforeDatasetUpdate: (chartInstance: Chart, options: Any?) -> Unit

beforeDatasetsDraw

open val beforeDatasetsDraw: (chartInstance: Chart, easing: String, options: Any?) -> Unit

beforeDatasetsUpdate

open val beforeDatasetsUpdate: (chartInstance: Chart, options: Any?) -> Unit

beforeDraw

open val beforeDraw: (chartInstance: Chart, easing: String, options: Any?) -> Unit

beforeEvent

open val beforeEvent: (chartInstance: Chart, event: Event, options: Any?) -> Unit

beforeInit

open val beforeInit: (chartInstance: Chart, options: Any?) -> Unit

beforeLayout

open val beforeLayout: (chartInstance: Chart, options: Any?) -> Unit

beforeRender

open val beforeRender: (chartInstance: Chart, options: Any?) -> Unit

beforeTooltipDraw

open val beforeTooltipDraw: (chartInstance: Chart, tooltipData: Any?, options: Any?) -> Unit

beforeUpdate

open val beforeUpdate: (chartInstance: Chart, options: Any?) -> Unit

destroy

open val destroy: (chartInstance: Chart) -> Unit

resize

open val resize: (chartInstance: Chart, newChartSize: ChartSize, options: Any?) -> Unit

Extension Functions

createInstance

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

Helper function for creating JavaScript objects from dynamic constructors.