kvision / pl.treksoft.kvision.chart.js / Chart / ChartOptions

ChartOptions

interface ChartOptions

Properties

animation

open var animation: Chart.ChartAnimationOptions?

aspectRatio

open var aspectRatio: Number?

circumference

open var circumference: Number?

cutoutPercentage

open var cutoutPercentage: Number?

devicePixelRatio

open var devicePixelRatio: Number?

elements

open var elements: Chart.ChartElementsOptions?

events

open var events: Array<String>?

hover

open var hover: Chart.ChartHoverOptions?

layout

open var layout: Chart.ChartLayoutOptions?

legend

open var legend: Chart.ChartLegendOptions?

legendCallback

open val legendCallback: ((chart: Chart) -> String)?

maintainAspectRatio

open var maintainAspectRatio: Boolean?

onClick

open val onClick: ((event: MouseEvent?, activeElements: Array<Any>?) -> Any)?

onHover

open val onHover: ((this: Chart, event: MouseEvent, activeElements: Array<Any>) -> Any)?

onResize

open val onResize: ((this: Chart, newSize: Chart.ChartSize) -> Unit)?

plugins

open var plugins: Chart.ChartPluginsOptions?

responsive

open var responsive: Boolean?

responsiveAnimationDuration

open var responsiveAnimationDuration: Number?

rotation

open var rotation: Number?

scales

open var scales: Chart.ChartScales?

showLines

open var showLines: Boolean?

spanGaps

open var spanGaps: Boolean?

title

open var title: Chart.ChartTitleOptions?

tooltips

open var tooltips: Chart.ChartTooltipOptions?

Inheritors

RadialChartOptions

interface RadialChartOptions : Chart.ChartOptions