aboutsummaryrefslogtreecommitdiff
path: root/api1/pl.treksoft.kvision.chart/-chart/render.html
blob: 5b67ba9aada19314c8cee58e7c84d077a2210c2f (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
<HTML>
<HEAD>
<meta charset="UTF-8">
<title>Chart.render - 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</a>&nbsp;/&nbsp;<a href="index.html">Chart</a>&nbsp;/&nbsp;<a href="./render.html">render</a><br/>
<br/>
<h1>render</h1>
<a name="pl.treksoft.kvision.chart.Chart$render()"></a>
<code><span class="keyword">protected</span> <span class="keyword">open</span> <span class="keyword">fun </span><span class="identifier">render</span><span class="symbol">(</span><span class="symbol">)</span><span class="symbol">: </span><span class="identifier">VNode</span></code>
<p>Overrides <a href="../../pl.treksoft.kvision.core/-widget/render.html">Widget.render</a></p>
<p>Renders current component as a Snabbdom vnode.</p>
<p><strong>Return</strong><br/>
Snabbdom vnode</p>
<a name="pl.treksoft.kvision.chart.Chart$render(kotlin.Int, kotlin.Boolean)"></a>
<code><span class="keyword">open</span> <span class="keyword">fun </span><span class="identifier">render</span><span class="symbol">(</span><span class="identifier" id="pl.treksoft.kvision.chart.Chart$render(kotlin.Int, kotlin.Boolean)/duration">duration</span><span class="symbol">:</span>&nbsp;<a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-int/index.html"><span class="identifier">Int</span></a><span class="symbol">?</span>&nbsp;<span class="symbol">=</span>&nbsp;null<span class="symbol">, </span><span class="identifier" id="pl.treksoft.kvision.chart.Chart$render(kotlin.Int, kotlin.Boolean)/lazy">lazy</span><span class="symbol">:</span>&nbsp;<a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-boolean/index.html"><span class="identifier">Boolean</span></a>&nbsp;<span class="symbol">=</span>&nbsp;false<span class="symbol">)</span><span class="symbol">: </span><a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-unit/index.html"><span class="identifier">Unit</span></a></code>
<p>Renders the chart.</p>
<h3>Parameters</h3>
<p><a name="duration"></a>
<code>duration</code> - animation duration</p>
<p><a name="lazy"></a>
<code>lazy</code> - if true, the animation can be interrupted by other animations</p>
</BODY>
</HTML>