kvision / pl.treksoft.kvision.chart.js / Chart / ChartLegendOptions

ChartLegendOptions

interface ChartLegendOptions

Properties

display

open var display: Boolean?

fullWidth

open var fullWidth: Boolean?

labels

open var labels: Chart.ChartLegendLabelOptions?

onClick

open val onClick: ((event: MouseEvent, legendItem: Chart.ChartLegendLabelItem) -> Unit)?

onHover

open val onHover: ((event: MouseEvent, legendItem: Chart.ChartLegendLabelItem) -> Unit)?

position

open var position: dynamic

reverse

open var reverse: Boolean?