data class TooltipCallback
Chart tooltips callbacks.
(js)
<init> |
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) |
(js)
afterBody |
val afterBody: ((item: Array<ChartTooltipItem>, data: ChartData) -> dynamic)? |
(js)
afterFooter |
val afterFooter: ((item: Array<ChartTooltipItem>, data: ChartData) -> dynamic)? |
(js)
afterLabel |
val afterLabel: ((tooltipItem: ChartTooltipItem, data: ChartData) -> dynamic)? |
(js)
afterTitle |
val afterTitle: ((item: Array<ChartTooltipItem>, data: ChartData) -> dynamic)? |
(js)
beforeBody |
val beforeBody: ((item: Array<ChartTooltipItem>, data: ChartData) -> dynamic)? |
(js)
beforeFooter |
val beforeFooter: ((item: Array<ChartTooltipItem>, data: ChartData) -> dynamic)? |
(js)
beforeLabel |
val beforeLabel: ((tooltipItem: ChartTooltipItem, data: ChartData) -> dynamic)? |
(js)
beforeTitle |
val beforeTitle: ((item: Array<ChartTooltipItem>, data: ChartData) -> dynamic)? |
(js)
footer |
val footer: ((item: Array<ChartTooltipItem>, data: ChartData) -> dynamic)? |
(js)
label |
val label: ((tooltipItem: ChartTooltipItem, data: ChartData) -> dynamic)? |
(js)
labelColor |
val labelColor: ((tooltipItem: ChartTooltipItem, chart: Chart) -> ChartTooltipLabelColor)? |
(js)
labelTextColor |
val labelTextColor: ((tooltipItem: ChartTooltipItem, chart: Chart) -> String)? |
(js)
title |
val title: ((item: Array<ChartTooltipItem>, data: ChartData) -> dynamic)? |
(js)
toJs |
An extension function to convert configuration class to JS object. fun TooltipCallback.toJs(): dynamic |