From e992f3f13ec46cad15cc7d6982e64ffc7223eb9a Mon Sep 17 00:00:00 2001 From: Robert Jaros Date: Sun, 10 Mar 2019 14:42:30 +0100 Subject: API documentation for KVision 0.0.29 --- .../-legend-label-options/index.html | 119 +++++++++++++++++++++ 1 file changed, 119 insertions(+) create mode 100644 api/pl.treksoft.kvision.chart/-legend-label-options/index.html (limited to 'api/pl.treksoft.kvision.chart/-legend-label-options/index.html') diff --git a/api/pl.treksoft.kvision.chart/-legend-label-options/index.html b/api/pl.treksoft.kvision.chart/-legend-label-options/index.html new file mode 100644 index 00000000..19097126 --- /dev/null +++ b/api/pl.treksoft.kvision.chart/-legend-label-options/index.html @@ -0,0 +1,119 @@ + + + +LegendLabelOptions - kvision + + + +kvision / pl.treksoft.kvision.chart / LegendLabelOptions
+
+

LegendLabelOptions

+data class LegendLabelOptions +

Chart legend label options.

+

Constructors

+ + + + + + + +
+

<init>

+
+LegendLabelOptions(boxWidth: Int = 40, fontSize: Int = 12, fontStyle: FontStyle? = null, fontColor: Color? = null, fontFamily: String? = null, padding: Int = 10, generateLabels: (chart: Any) -> Any = null, filter: (legendItem: ChartLegendLabelItem, data: ChartData) -> Any = null, usePointStyle: Boolean = false) +

Chart legend label options.

+
+

Properties

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

boxWidth

+
+val boxWidth: Int
+

filter

+
+val filter: (legendItem: ChartLegendLabelItem, data: ChartData) -> Any
+

fontColor

+
+val fontColor: Color?
+

fontFamily

+
+val fontFamily: String?
+

fontSize

+
+val fontSize: Int
+

fontStyle

+
+val fontStyle: FontStyle?
+

generateLabels

+
+val generateLabels: (chart: Any) -> Any
+

padding

+
+val padding: Int
+

usePointStyle

+
+val usePointStyle: Boolean
+

Extension Functions

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

createInstance

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

Helper function for creating JavaScript objects from dynamic constructors.

+
+

toJs

+
+fun LegendLabelOptions.toJs(): dynamic +

An extension function to convert configuration class to JS object.

+
+ + -- cgit