ChartOptions
data class ChartOptions(val responsive: Boolean = true, val aspectRatio: Number? = null, val maintainAspectRatio: Boolean = true, val onResize: (chart: Chart, newSize: ChartSize) -> Unit? = null, val resizeDelay: Int? = null, val devicePixelRatio: Number? = null, val locale: String? = null, val interaction: InteractionOptions? = null, val hover: InteractionOptions? = null, val events: List<String>? = null, val onHover: (event: ChartEvent, elements: Array<ActiveElement>, chart: Chart) -> Any? = null, val onClick: (event: ChartEvent, elements: Array<ActiveElement>, chart: Chart) -> Any? = null, val animation: AnimationOptions? = null, val animations: dynamic = null, val transitions: dynamic = null, val layout: LayoutOptions? = null, val elements: ElementsOptions? = null, val elementsDynamic: dynamic = null, val scales: Map<String, ChartScales>? = null, val scalesDynamic: dynamic = null, val showLine: Boolean? = null, val spanGaps: Boolean? = null, val cutoutPercentage: Int? = null, val circumference: Double? = null, val rotation: Double? = null, val plugins: PluginsOptions? = null, val pluginsDynamic: dynamic = null, val datasets: dynamic = null)(source)
Chart options.
Constructors
Link copied to clipboard
constructor(responsive: Boolean = true, aspectRatio: Number? = null, maintainAspectRatio: Boolean = true, onResize: (chart: Chart, newSize: ChartSize) -> Unit? = null, resizeDelay: Int? = null, devicePixelRatio: Number? = null, locale: String? = null, interaction: InteractionOptions? = null, hover: InteractionOptions? = null, events: List<String>? = null, onHover: (event: ChartEvent, elements: Array<ActiveElement>, chart: Chart) -> Any? = null, onClick: (event: ChartEvent, elements: Array<ActiveElement>, chart: Chart) -> Any? = null, animation: AnimationOptions? = null, animations: dynamic = null, transitions: dynamic = null, layout: LayoutOptions? = null, elements: ElementsOptions? = null, elementsDynamic: dynamic = null, scales: Map<String, ChartScales>? = null, scalesDynamic: dynamic = null, showLine: Boolean? = null, spanGaps: Boolean? = null, cutoutPercentage: Int? = null, circumference: Double? = null, rotation: Double? = null, plugins: PluginsOptions? = null, pluginsDynamic: dynamic = null, datasets: dynamic = null)
Properties
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard