From fb7ff5b8bf2073a8d7b78011b9edffc830dc63cb Mon Sep 17 00:00:00 2001 From: Robert Jaros Date: Sat, 26 Oct 2019 00:17:24 +0200 Subject: API documentation for KVision 2.0.0 --- .../-legend-options/index.html | 105 +++++++++++++++++++++ 1 file changed, 105 insertions(+) create mode 100644 api1/pl.treksoft.kvision.chart/-legend-options/index.html (limited to 'api1/pl.treksoft.kvision.chart/-legend-options/index.html') diff --git a/api1/pl.treksoft.kvision.chart/-legend-options/index.html b/api1/pl.treksoft.kvision.chart/-legend-options/index.html new file mode 100644 index 00000000..4f06ab67 --- /dev/null +++ b/api1/pl.treksoft.kvision.chart/-legend-options/index.html @@ -0,0 +1,105 @@ + + + +LegendOptions - kvision + + + +kvision / pl.treksoft.kvision.chart / LegendOptions
+
+

LegendOptions

+data class LegendOptions +

Chart legend options.

+

Constructors

+ + + + + + + +
+

<init>

+
+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.

+
+

Properties

+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+

display

+
+val display: Boolean
+

fullWidth

+
+val fullWidth: Boolean
+

labels

+
+val labels: LegendLabelOptions?
+

onClick

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

onHover

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

position

+
+val position: Position
+

reverse

+
+val reverse: Boolean
+

Extension Functions

+ + + + + + + + + + + +
+

createInstance

+
+fun <T> Any?.createInstance(vararg args: dynamic): T +

Helper function for creating JavaScript objects from dynamic constructors.

+
+

toJs

+
+fun LegendOptions.toJs(): dynamic +

An extension function to convert configuration class to JS object.

+
+ + -- cgit