<HTML> <HEAD> <meta charset="UTF-8"> <title>Chart.ChartOptions - kvision</title> <link rel="stylesheet" href="../../../../style.css"> </HEAD> <BODY> <a href="../../../index.html">kvision</a> / <a href="../../index.html">pl.treksoft.kvision.chart.js</a> / <a href="../index.html">Chart</a> / <a href="./index.html">ChartOptions</a><br/> <br/> <h1>ChartOptions</h1> <code><span class="keyword">interface </span><span class="identifier">ChartOptions</span></code> <h3>Properties</h3> <table> <tbody> <tr> <td> <p><a href="animation.html">animation</a></p> </td> <td> <code><span class="keyword">open</span> <span class="keyword">var </span><span class="identifier">animation</span><span class="symbol">: </span><a href="../-chart-animation-options/index.html"><span class="identifier">Chart.ChartAnimationOptions</span></a><span class="symbol">?</span></code></td> </tr> <tr> <td> <p><a href="aspect-ratio.html">aspectRatio</a></p> </td> <td> <code><span class="keyword">open</span> <span class="keyword">var </span><span class="identifier">aspectRatio</span><span class="symbol">: </span><a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-number/index.html"><span class="identifier">Number</span></a><span class="symbol">?</span></code></td> </tr> <tr> <td> <p><a href="circumference.html">circumference</a></p> </td> <td> <code><span class="keyword">open</span> <span class="keyword">var </span><span class="identifier">circumference</span><span class="symbol">: </span><a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-number/index.html"><span class="identifier">Number</span></a><span class="symbol">?</span></code></td> </tr> <tr> <td> <p><a href="cutout-percentage.html">cutoutPercentage</a></p> </td> <td> <code><span class="keyword">open</span> <span class="keyword">var </span><span class="identifier">cutoutPercentage</span><span class="symbol">: </span><a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-number/index.html"><span class="identifier">Number</span></a><span class="symbol">?</span></code></td> </tr> <tr> <td> <p><a href="device-pixel-ratio.html">devicePixelRatio</a></p> </td> <td> <code><span class="keyword">open</span> <span class="keyword">var </span><span class="identifier">devicePixelRatio</span><span class="symbol">: </span><a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-number/index.html"><span class="identifier">Number</span></a><span class="symbol">?</span></code></td> </tr> <tr> <td> <p><a href="elements.html">elements</a></p> </td> <td> <code><span class="keyword">open</span> <span class="keyword">var </span><span class="identifier">elements</span><span class="symbol">: </span><a href="../-chart-elements-options/index.html"><span class="identifier">Chart.ChartElementsOptions</span></a><span class="symbol">?</span></code></td> </tr> <tr> <td> <p><a href="events.html">events</a></p> </td> <td> <code><span class="keyword">open</span> <span class="keyword">var </span><span class="identifier">events</span><span class="symbol">: </span><a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-array/index.html"><span class="identifier">Array</span></a><span class="symbol"><</span><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> <p><a href="hover.html">hover</a></p> </td> <td> <code><span class="keyword">open</span> <span class="keyword">var </span><span class="identifier">hover</span><span class="symbol">: </span><a href="../-chart-hover-options/index.html"><span class="identifier">Chart.ChartHoverOptions</span></a><span class="symbol">?</span></code></td> </tr> <tr> <td> <p><a href="layout.html">layout</a></p> </td> <td> <code><span class="keyword">open</span> <span class="keyword">var </span><span class="identifier">layout</span><span class="symbol">: </span><a href="../-chart-layout-options/index.html"><span class="identifier">Chart.ChartLayoutOptions</span></a><span class="symbol">?</span></code></td> </tr> <tr> <td> <p><a href="legend.html">legend</a></p> </td> <td> <code><span class="keyword">open</span> <span class="keyword">var </span><span class="identifier">legend</span><span class="symbol">: </span><a href="../-chart-legend-options/index.html"><span class="identifier">Chart.ChartLegendOptions</span></a><span class="symbol">?</span></code></td> </tr> <tr> <td> <p><a href="legend-callback.html">legendCallback</a></p> </td> <td> <code><span class="keyword">open</span> <span class="keyword">val </span><span class="identifier">legendCallback</span><span class="symbol">: </span><span class="symbol">(</span><span class="symbol">(</span><span class="identifier">chart</span><span class="symbol">:</span> <a href="../index.html"><span class="identifier">Chart</span></a><span class="symbol">)</span> <span class="symbol">-></span> <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> <p><a href="maintain-aspect-ratio.html">maintainAspectRatio</a></p> </td> <td> <code><span class="keyword">open</span> <span class="keyword">var </span><span class="identifier">maintainAspectRatio</span><span class="symbol">: </span><a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-boolean/index.html"><span class="identifier">Boolean</span></a><span class="symbol">?</span></code></td> </tr> <tr> <td> <p><a href="on-click.html">onClick</a></p> </td> <td> <code><span class="keyword">open</span> <span class="keyword">val </span><span class="identifier">onClick</span><span class="symbol">: </span><span class="symbol">(</span><span class="symbol">(</span><span class="identifier">event</span><span class="symbol">:</span> <a href="https://kotlinlang.org/api/latest/jvm/stdlib/org.w3c.dom.events/-mouse-event/index.html"><span class="identifier">MouseEvent</span></a><span class="symbol">?</span><span class="symbol">,</span> <span class="identifier">activeElements</span><span class="symbol">:</span> <a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-array/index.html"><span class="identifier">Array</span></a><span class="symbol"><</span><a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-any/index.html"><span class="identifier">Any</span></a><span class="symbol">></span><span class="symbol">?</span><span class="symbol">)</span> <span class="symbol">-></span> <a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-any/index.html"><span class="identifier">Any</span></a><span class="symbol">)</span><span class="symbol">?</span></code></td> </tr> <tr> <td> <p><a href="on-hover.html">onHover</a></p> </td> <td> <code><span class="keyword">open</span> <span class="keyword">val </span><span class="identifier">onHover</span><span class="symbol">: </span><span class="symbol">(</span><span class="symbol">(</span><span class="identifier">this</span><span class="symbol">:</span> <a href="../index.html"><span class="identifier">Chart</span></a><span class="symbol">,</span> <span class="identifier">event</span><span class="symbol">:</span> <a href="https://kotlinlang.org/api/latest/jvm/stdlib/org.w3c.dom.events/-mouse-event/index.html"><span class="identifier">MouseEvent</span></a><span class="symbol">,</span> <span class="identifier">activeElements</span><span class="symbol">:</span> <a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-array/index.html"><span class="identifier">Array</span></a><span class="symbol"><</span><a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-any/index.html"><span class="identifier">Any</span></a><span class="symbol">></span><span class="symbol">)</span> <span class="symbol">-></span> <a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-any/index.html"><span class="identifier">Any</span></a><span class="symbol">)</span><span class="symbol">?</span></code></td> </tr> <tr> <td> <p><a href="on-resize.html">onResize</a></p> </td> <td> <code><span class="keyword">open</span> <span class="keyword">val </span><span class="identifier">onResize</span><span class="symbol">: </span><span class="symbol">(</span><span class="symbol">(</span><span class="identifier">this</span><span class="symbol">:</span> <a href="../index.html"><span class="identifier">Chart</span></a><span class="symbol">,</span> <span class="identifier">newSize</span><span class="symbol">:</span> <a href="../-chart-size/index.html"><span class="identifier">Chart.ChartSize</span></a><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><span class="symbol">)</span><span class="symbol">?</span></code></td> </tr> <tr> <td> <p><a href="plugins.html">plugins</a></p> </td> <td> <code><span class="keyword">open</span> <span class="keyword">var </span><span class="identifier">plugins</span><span class="symbol">: </span><a href="../-chart-plugins-options.html"><span class="identifier">Chart.ChartPluginsOptions</span></a><span class="symbol">?</span></code></td> </tr> <tr> <td> <p><a href="responsive.html">responsive</a></p> </td> <td> <code><span class="keyword">open</span> <span class="keyword">var </span><span class="identifier">responsive</span><span class="symbol">: </span><a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-boolean/index.html"><span class="identifier">Boolean</span></a><span class="symbol">?</span></code></td> </tr> <tr> <td> <p><a href="responsive-animation-duration.html">responsiveAnimationDuration</a></p> </td> <td> <code><span class="keyword">open</span> <span class="keyword">var </span><span class="identifier">responsiveAnimationDuration</span><span class="symbol">: </span><a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-number/index.html"><span class="identifier">Number</span></a><span class="symbol">?</span></code></td> </tr> <tr> <td> <p><a href="rotation.html">rotation</a></p> </td> <td> <code><span class="keyword">open</span> <span class="keyword">var </span><span class="identifier">rotation</span><span class="symbol">: </span><a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-number/index.html"><span class="identifier">Number</span></a><span class="symbol">?</span></code></td> </tr> <tr> <td> <p><a href="scales.html">scales</a></p> </td> <td> <code><span class="keyword">open</span> <span class="keyword">var </span><span class="identifier">scales</span><span class="symbol">: </span><a href="../-chart-scales/index.html"><span class="identifier">Chart.ChartScales</span></a><span class="symbol">?</span></code></td> </tr> <tr> <td> <p><a href="show-lines.html">showLines</a></p> </td> <td> <code><span class="keyword">open</span> <span class="keyword">var </span><span class="identifier">showLines</span><span class="symbol">: </span><a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-boolean/index.html"><span class="identifier">Boolean</span></a><span class="symbol">?</span></code></td> </tr> <tr> <td> <p><a href="span-gaps.html">spanGaps</a></p> </td> <td> <code><span class="keyword">open</span> <span class="keyword">var </span><span class="identifier">spanGaps</span><span class="symbol">: </span><a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-boolean/index.html"><span class="identifier">Boolean</span></a><span class="symbol">?</span></code></td> </tr> <tr> <td> <p><a href="title.html">title</a></p> </td> <td> <code><span class="keyword">open</span> <span class="keyword">var </span><span class="identifier">title</span><span class="symbol">: </span><a href="../-chart-title-options/index.html"><span class="identifier">Chart.ChartTitleOptions</span></a><span class="symbol">?</span></code></td> </tr> <tr> <td> <p><a href="tooltips.html">tooltips</a></p> </td> <td> <code><span class="keyword">open</span> <span class="keyword">var </span><span class="identifier">tooltips</span><span class="symbol">: </span><a href="../-chart-tooltip-options/index.html"><span class="identifier">Chart.ChartTooltipOptions</span></a><span class="symbol">?</span></code></td> </tr> </tbody> </table> <h3>Inheritors</h3> <table> <tbody> <tr> <td> <p><a href="../-radial-chart-options/index.html">RadialChartOptions</a></p> </td> <td> <code><span class="keyword">interface </span><span class="identifier">RadialChartOptions</span> <span class="symbol">:</span> <a href="./index.html"><span class="identifier">Chart.ChartOptions</span></a></code></td> </tr> </tbody> </table> </BODY> </HTML>