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

ChartOptions

interface ChartOptions

Properties

animation

open var animation: 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: ChartElementsOptions?

events

open var events: Array<String>?

hover

open var hover: ChartHoverOptions?

layout

open var layout: ChartLayoutOptions?

legend

open var legend: 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: ChartSize) -> Unit

plugins

open var plugins: ChartPluginsOptions?

responsive

open var responsive: Boolean?

responsiveAnimationDuration

open var responsiveAnimationDuration: Number?

rotation

open var rotation: Number?

scales

open var scales: ChartScales?

showLines

open var showLines: Boolean?

spanGaps

open var spanGaps: Boolean?

title

open var title: ChartTitleOptions?

tooltips

open var tooltips: ChartTooltipOptions?

Inheritors

RadialChartOptions

interface RadialChartOptions : ChartOptions