summaryrefslogtreecommitdiff
path: root/api/pl.treksoft.kvision.chart.js/-chart/-chart-tooltip-callback/index.html
blob: 1742444a9c1c355e12bf581622d6050973db338a (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
<HTML>
<HEAD>
<meta charset="UTF-8">
<title>Chart.ChartTooltipCallback - kvision</title>
<link rel="stylesheet" href="../../../../style.css">
</HEAD>
<BODY>
<a href="../../../index.html">kvision</a>&nbsp;/&nbsp;<a href="../../index.html">pl.treksoft.kvision.chart.js</a>&nbsp;/&nbsp;<a href="../index.html">Chart</a>&nbsp;/&nbsp;<a href="./index.html">ChartTooltipCallback</a><br/>
<br/>
<h1>ChartTooltipCallback</h1>
(js) <code><span class="keyword">interface </span><span class="identifier">ChartTooltipCallback</span></code>
<h3>Properties</h3>
<table>
<tbody>
<tr>
<td>
(js) 
<h4><a href="after-body.html">afterBody</a></h4>
</td>
<td>
<code><span class="keyword">open</span> <span class="keyword">val </span><span class="identifier">afterBody</span><span class="symbol">: </span><span class="symbol">(</span><span class="symbol">(</span><span class="identifier">item</span><span class="symbol">:</span>&nbsp;<a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-array/index.html"><span class="identifier">Array</span></a><span class="symbol">&lt;</span><span class="identifier">ChartTooltipItem</span><span class="symbol">&gt;</span><span class="symbol">,</span>&nbsp;<span class="identifier">data</span><span class="symbol">:</span>&nbsp;<span class="identifier">ChartData</span><span class="symbol">)</span>&nbsp;<span class="symbol">-&gt;</span>&nbsp;<span class="keyword">dynamic</span><span class="symbol">)</span><span class="symbol">?</span></code></td>
</tr>
<tr>
<td>
(js) 
<h4><a href="after-footer.html">afterFooter</a></h4>
</td>
<td>
<code><span class="keyword">open</span> <span class="keyword">val </span><span class="identifier">afterFooter</span><span class="symbol">: </span><span class="symbol">(</span><span class="symbol">(</span><span class="identifier">item</span><span class="symbol">:</span>&nbsp;<a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-array/index.html"><span class="identifier">Array</span></a><span class="symbol">&lt;</span><span class="identifier">ChartTooltipItem</span><span class="symbol">&gt;</span><span class="symbol">,</span>&nbsp;<span class="identifier">data</span><span class="symbol">:</span>&nbsp;<span class="identifier">ChartData</span><span class="symbol">)</span>&nbsp;<span class="symbol">-&gt;</span>&nbsp;<span class="keyword">dynamic</span><span class="symbol">)</span><span class="symbol">?</span></code></td>
</tr>
<tr>
<td>
(js) 
<h4><a href="after-label.html">afterLabel</a></h4>
</td>
<td>
<code><span class="keyword">open</span> <span class="keyword">val </span><span class="identifier">afterLabel</span><span class="symbol">: </span><span class="symbol">(</span><span class="symbol">(</span><span class="identifier">tooltipItem</span><span class="symbol">:</span>&nbsp;<span class="identifier">ChartTooltipItem</span><span class="symbol">,</span>&nbsp;<span class="identifier">data</span><span class="symbol">:</span>&nbsp;<span class="identifier">ChartData</span><span class="symbol">)</span>&nbsp;<span class="symbol">-&gt;</span>&nbsp;<span class="keyword">dynamic</span><span class="symbol">)</span><span class="symbol">?</span></code></td>
</tr>
<tr>
<td>
(js) 
<h4><a href="after-title.html">afterTitle</a></h4>
</td>
<td>
<code><span class="keyword">open</span> <span class="keyword">val </span><span class="identifier">afterTitle</span><span class="symbol">: </span><span class="symbol">(</span><span class="symbol">(</span><span class="identifier">item</span><span class="symbol">:</span>&nbsp;<a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-array/index.html"><span class="identifier">Array</span></a><span class="symbol">&lt;</span><span class="identifier">ChartTooltipItem</span><span class="symbol">&gt;</span><span class="symbol">,</span>&nbsp;<span class="identifier">data</span><span class="symbol">:</span>&nbsp;<span class="identifier">ChartData</span><span class="symbol">)</span>&nbsp;<span class="symbol">-&gt;</span>&nbsp;<span class="keyword">dynamic</span><span class="symbol">)</span><span class="symbol">?</span></code></td>
</tr>
<tr>
<td>
(js) 
<h4><a href="before-body.html">beforeBody</a></h4>
</td>
<td>
<code><span class="keyword">open</span> <span class="keyword">val </span><span class="identifier">beforeBody</span><span class="symbol">: </span><span class="symbol">(</span><span class="symbol">(</span><span class="identifier">item</span><span class="symbol">:</span>&nbsp;<a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-array/index.html"><span class="identifier">Array</span></a><span class="symbol">&lt;</span><span class="identifier">ChartTooltipItem</span><span class="symbol">&gt;</span><span class="symbol">,</span>&nbsp;<span class="identifier">data</span><span class="symbol">:</span>&nbsp;<span class="identifier">ChartData</span><span class="symbol">)</span>&nbsp;<span class="symbol">-&gt;</span>&nbsp;<span class="keyword">dynamic</span><span class="symbol">)</span><span class="symbol">?</span></code></td>
</tr>
<tr>
<td>
(js) 
<h4><a href="before-footer.html">beforeFooter</a></h4>
</td>
<td>
<code><span class="keyword">open</span> <span class="keyword">val </span><span class="identifier">beforeFooter</span><span class="symbol">: </span><span class="symbol">(</span><span class="symbol">(</span><span class="identifier">item</span><span class="symbol">:</span>&nbsp;<a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-array/index.html"><span class="identifier">Array</span></a><span class="symbol">&lt;</span><span class="identifier">ChartTooltipItem</span><span class="symbol">&gt;</span><span class="symbol">,</span>&nbsp;<span class="identifier">data</span><span class="symbol">:</span>&nbsp;<span class="identifier">ChartData</span><span class="symbol">)</span>&nbsp;<span class="symbol">-&gt;</span>&nbsp;<span class="keyword">dynamic</span><span class="symbol">)</span><span class="symbol">?</span></code></td>
</tr>
<tr>
<td>
(js) 
<h4><a href="before-label.html">beforeLabel</a></h4>
</td>
<td>
<code><span class="keyword">open</span> <span class="keyword">val </span><span class="identifier">beforeLabel</span><span class="symbol">: </span><span class="symbol">(</span><span class="symbol">(</span><span class="identifier">tooltipItem</span><span class="symbol">:</span>&nbsp;<span class="identifier">ChartTooltipItem</span><span class="symbol">,</span>&nbsp;<span class="identifier">data</span><span class="symbol">:</span>&nbsp;<span class="identifier">ChartData</span><span class="symbol">)</span>&nbsp;<span class="symbol">-&gt;</span>&nbsp;<span class="keyword">dynamic</span><span class="symbol">)</span><span class="symbol">?</span></code></td>
</tr>
<tr>
<td>
(js) 
<h4><a href="before-title.html">beforeTitle</a></h4>
</td>
<td>
<code><span class="keyword">open</span> <span class="keyword">val </span><span class="identifier">beforeTitle</span><span class="symbol">: </span><span class="symbol">(</span><span class="symbol">(</span><span class="identifier">item</span><span class="symbol">:</span>&nbsp;<a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-array/index.html"><span class="identifier">Array</span></a><span class="symbol">&lt;</span><span class="identifier">ChartTooltipItem</span><span class="symbol">&gt;</span><span class="symbol">,</span>&nbsp;<span class="identifier">data</span><span class="symbol">:</span>&nbsp;<span class="identifier">ChartData</span><span class="symbol">)</span>&nbsp;<span class="symbol">-&gt;</span>&nbsp;<span class="keyword">dynamic</span><span class="symbol">)</span><span class="symbol">?</span></code></td>
</tr>
<tr>
<td>
(js) 
<h4><a href="footer.html">footer</a></h4>
</td>
<td>
<code><span class="keyword">open</span> <span class="keyword">val </span><span class="identifier">footer</span><span class="symbol">: </span><span class="symbol">(</span><span class="symbol">(</span><span class="identifier">item</span><span class="symbol">:</span>&nbsp;<a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-array/index.html"><span class="identifier">Array</span></a><span class="symbol">&lt;</span><span class="identifier">ChartTooltipItem</span><span class="symbol">&gt;</span><span class="symbol">,</span>&nbsp;<span class="identifier">data</span><span class="symbol">:</span>&nbsp;<span class="identifier">ChartData</span><span class="symbol">)</span>&nbsp;<span class="symbol">-&gt;</span>&nbsp;<span class="keyword">dynamic</span><span class="symbol">)</span><span class="symbol">?</span></code></td>
</tr>
<tr>
<td>
(js) 
<h4><a href="label.html">label</a></h4>
</td>
<td>
<code><span class="keyword">open</span> <span class="keyword">val </span><span class="identifier">label</span><span class="symbol">: </span><span class="symbol">(</span><span class="symbol">(</span><span class="identifier">tooltipItem</span><span class="symbol">:</span>&nbsp;<span class="identifier">ChartTooltipItem</span><span class="symbol">,</span>&nbsp;<span class="identifier">data</span><span class="symbol">:</span>&nbsp;<span class="identifier">ChartData</span><span class="symbol">)</span>&nbsp;<span class="symbol">-&gt;</span>&nbsp;<span class="keyword">dynamic</span><span class="symbol">)</span><span class="symbol">?</span></code></td>
</tr>
<tr>
<td>
(js) 
<h4><a href="label-color.html">labelColor</a></h4>
</td>
<td>
<code><span class="keyword">open</span> <span class="keyword">val </span><span class="identifier">labelColor</span><span class="symbol">: </span><span class="symbol">(</span><span class="symbol">(</span><span class="identifier">tooltipItem</span><span class="symbol">:</span>&nbsp;<span class="identifier">ChartTooltipItem</span><span class="symbol">,</span>&nbsp;<span class="identifier">chart</span><span class="symbol">:</span>&nbsp;<a href="../index.html"><span class="identifier">Chart</span></a><span class="symbol">)</span>&nbsp;<span class="symbol">-&gt;</span>&nbsp;<span class="identifier">ChartTooltipLabelColor</span><span class="symbol">)</span><span class="symbol">?</span></code></td>
</tr>
<tr>
<td>
(js) 
<h4><a href="label-text-color.html">labelTextColor</a></h4>
</td>
<td>
<code><span class="keyword">open</span> <span class="keyword">val </span><span class="identifier">labelTextColor</span><span class="symbol">: </span><span class="symbol">(</span><span class="symbol">(</span><span class="identifier">tooltipItem</span><span class="symbol">:</span>&nbsp;<span class="identifier">ChartTooltipItem</span><span class="symbol">,</span>&nbsp;<span class="identifier">chart</span><span class="symbol">:</span>&nbsp;<a href="../index.html"><span class="identifier">Chart</span></a><span class="symbol">)</span>&nbsp;<span class="symbol">-&gt;</span>&nbsp;<a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-string/index.html"><span class="identifier">String</span></a><span class="symbol">)</span><span class="symbol">?</span></code></td>
</tr>
<tr>
<td>
(js) 
<h4><a href="title.html">title</a></h4>
</td>
<td>
<code><span class="keyword">open</span> <span class="keyword">val </span><span class="identifier">title</span><span class="symbol">: </span><span class="symbol">(</span><span class="symbol">(</span><span class="identifier">item</span><span class="symbol">:</span>&nbsp;<a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-array/index.html"><span class="identifier">Array</span></a><span class="symbol">&lt;</span><span class="identifier">ChartTooltipItem</span><span class="symbol">&gt;</span><span class="symbol">,</span>&nbsp;<span class="identifier">data</span><span class="symbol">:</span>&nbsp;<span class="identifier">ChartData</span><span class="symbol">)</span>&nbsp;<span class="symbol">-&gt;</span>&nbsp;<span class="keyword">dynamic</span><span class="symbol">)</span><span class="symbol">?</span></code></td>
</tr>
</tbody>
</table>
</BODY>
</HTML>