data class TooltipCallback
Chart tooltips callbacks.
TooltipCallback(beforeTitle: (item: Array<ChartTooltipItem>, data: ChartData) -> dynamic = null, title: (item: Array<ChartTooltipItem>, data: ChartData) -> dynamic = null, afterTitle: (item: Array<ChartTooltipItem>, data: ChartData) -> dynamic = null, beforeBody: (item: Array<ChartTooltipItem>, data: ChartData) -> dynamic = null, beforeLabel: (tooltipItem: ChartTooltipItem, data: ChartData) -> dynamic = null, label: (tooltipItem: ChartTooltipItem, data: ChartData) -> dynamic = null, labelColor: (tooltipItem: ChartTooltipItem, chart: Chart) -> ChartTooltipLabelColor = null, labelTextColor: (tooltipItem: ChartTooltipItem, chart: Chart) -> String = null, afterLabel: (tooltipItem: ChartTooltipItem, data: ChartData) -> dynamic = null, afterBody: (item: Array<ChartTooltipItem>, data: ChartData) -> dynamic = null, : (item: Array<ChartTooltipItem>, data: ChartData) -> dynamic = null, : (item: Array<ChartTooltipItem>, data: ChartData) -> dynamic = null, : (item: Array<ChartTooltipItem>, data: ChartData) -> dynamic = null)
Chart tooltips callbacks. |
val afterBody: (item: Array<ChartTooltipItem>, data: ChartData) -> dynamic |
|
val afterFooter: (item: Array<ChartTooltipItem>, data: ChartData) -> dynamic |
|
val afterLabel: (tooltipItem: ChartTooltipItem, data: ChartData) -> dynamic |
|
val afterTitle: (item: Array<ChartTooltipItem>, data: ChartData) -> dynamic |
|
val beforeBody: (item: Array<ChartTooltipItem>, data: ChartData) -> dynamic |
|
val beforeFooter: (item: Array<ChartTooltipItem>, data: ChartData) -> dynamic |
|
val beforeLabel: (tooltipItem: ChartTooltipItem, data: ChartData) -> dynamic |
|
val beforeTitle: (item: Array<ChartTooltipItem>, data: ChartData) -> dynamic |
|
val footer: (item: Array<ChartTooltipItem>, data: ChartData) -> dynamic |
|
val label: (tooltipItem: ChartTooltipItem, data: ChartData) -> dynamic |
|
val labelColor: (tooltipItem: ChartTooltipItem, chart: Chart) -> ChartTooltipLabelColor |
|
val labelTextColor: (tooltipItem: ChartTooltipItem, chart: Chart) -> String |
|
val title: (item: Array<ChartTooltipItem>, data: ChartData) -> dynamic |
fun <T> Any?.createInstance(vararg args: dynamic): T
Helper function for creating JavaScript objects from dynamic constructors. |
|
fun TooltipCallback.toJs(): dynamic
An extension function to convert configuration class to JS object. |