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

ChartOptions

(js) interface ChartOptions

Properties

(js)

animation

open var animation: ChartAnimationOptions?
(js)

aspectRatio

open var aspectRatio: Number?
(js)

circumference

open var circumference: Number?
(js)

cutoutPercentage

open var cutoutPercentage: Number?
(js)

devicePixelRatio

open var devicePixelRatio: Number?
(js)

elements

open var elements: ChartElementsOptions?
(js)

events

open var events: Array<String>?
(js)

hover

open var hover: ChartHoverOptions?
(js)

layout

open var layout: ChartLayoutOptions?
(js)

legend

open var legend: ChartLegendOptions?
(js)

legendCallback

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

maintainAspectRatio

open var maintainAspectRatio: Boolean?
(js)

onClick

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

onHover

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

onResize

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

plugins

open var plugins: ChartPluginsOptions?
(js)

responsive

open var responsive: Boolean?
(js)

responsiveAnimationDuration

open var responsiveAnimationDuration: Number?
(js)

rotation

open var rotation: Number?
(js)

scales

open var scales: ChartScales?
(js)

showLines

open var showLines: Boolean?
(js)

spanGaps

open var spanGaps: Boolean?
(js)

title

open var title: ChartTitleOptions?
(js)

tooltips

open var tooltips: ChartTooltipOptions?