data class LegendOptions
Chart legend options.
LegendOptions(display: Boolean = true, position: Position = Position.TOP, fullWidth: Boolean = true, reverse: Boolean = false, onClick: ((event: MouseEvent, legendItem: Chart.ChartLegendLabelItem) -> Unit)? = null, onHover: ((event: MouseEvent, legendItem: Chart.ChartLegendLabelItem) -> Unit)? = null, labels: LegendLabelOptions? = null)
Chart legend options. |
val display: Boolean |
|
val fullWidth: Boolean |
|
val labels: LegendLabelOptions? |
|
val onClick: ((event: MouseEvent, legendItem: Chart.ChartLegendLabelItem) -> Unit)? |
|
val onHover: ((event: MouseEvent, legendItem: Chart.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. |