data class LegendOptions
Chart legend options.
LegendOptions(display: Boolean = true, position: Position = Position.TOP, fullWidth: Boolean = true, reverse: Boolean = false, onClick: (event: MouseEvent, legendItem: ChartLegendLabelItem) -> Unit = null, onHover: (event: MouseEvent, legendItem: ChartLegendLabelItem) -> Unit = null, labels: LegendLabelOptions? = null)
Chart legend options. |
val display: Boolean |
|
val fullWidth: Boolean |
|
val labels: LegendLabelOptions? |
|
val onClick: (event: MouseEvent, legendItem: ChartLegendLabelItem) -> Unit |
|
val onHover: (event: MouseEvent, legendItem: ChartLegendLabelItem) -> Unit |
|
val position: Position |
|
val reverse: Boolean |
fun <T> Any?.createInstance(vararg args: dynamic): T
Helper function for creating JavaScript objects from dynamic constructors. |
|
fun LegendOptions.toJs(): dynamic
An extension function to convert configuration class to JS object. |