Chart Options
fun ChartOptions(responsive: Boolean = true, responsiveAnimationDuration: Int = 0, aspectRatio: Int = 2, maintainAspectRatio: Boolean = true, onResize: (chart: Chart, newSize: Chart.ChartSize) -> Unit? = null, devicePixelRatio: Int? = null, hover: HoverOptions? = null, events: List<String>? = null, onHover: (chart: Chart, event: MouseEvent, activeElements: Array<Any>) -> Any? = null, onClick: (event: MouseEvent, activeElements: Array<Any>) -> Any? = null, animation: AnimationOptions? = null, layout: LayoutOptions? = null, legend: LegendOptions? = null, legendCallback: (chart: Chart) -> String? = null, title: TitleOptions? = null, tooltips: TooltipOptions? = null, elements: ElementsOptions? = null, scales: ChartScales? = null, showLines: Boolean? = null, spanGaps: Boolean? = null, cutoutPercentage: Int? = null, circumference: Double? = null, rotation: Double? = null, plugins: dynamic = null, scale: dynamic = null)
Content copied to clipboard