data class LegendOptions
Chart legend options.
(js)
<init> |
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, align: LegendAlign? = null, onLeave: ((event: MouseEvent, legendItem: ChartLegendLabelItem) -> Unit)? = null) |
(js)
align |
val align: LegendAlign? |
(js)
display |
val display: Boolean |
(js)
fullWidth |
val fullWidth: Boolean |
(js)
labels |
val labels: LegendLabelOptions? |
(js)
onClick |
val onClick: ((event: MouseEvent, legendItem: ChartLegendLabelItem) -> Unit)? |
(js)
onHover |
val onHover: ((event: MouseEvent, legendItem: ChartLegendLabelItem) -> Unit)? |
(js)
onLeave |
val onLeave: ((event: MouseEvent, legendItem: ChartLegendLabelItem) -> Unit)? |
(js)
position |
val position: Position |
(js)
reverse |
val reverse: Boolean |
(js)
toJs |
An extension function to convert configuration class to JS object. fun LegendOptions.toJs(): dynamic |