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 --- .../-title-options/index.html | 119 +++++++++++++++++++++ 1 file changed, 119 insertions(+) create mode 100644 api1/pl.treksoft.kvision.chart/-title-options/index.html (limited to 'api1/pl.treksoft.kvision.chart/-title-options/index.html') diff --git a/api1/pl.treksoft.kvision.chart/-title-options/index.html b/api1/pl.treksoft.kvision.chart/-title-options/index.html new file mode 100644 index 00000000..69f9c68d --- /dev/null +++ b/api1/pl.treksoft.kvision.chart/-title-options/index.html @@ -0,0 +1,119 @@ + + + +TitleOptions - kvision + + + +kvision / pl.treksoft.kvision.chart / TitleOptions
+
+

TitleOptions

+data class TitleOptions +

Chart title options.

+

Constructors

+ + + + + + + +
+

<init>

+
+TitleOptions(display: Boolean = false, position: Position = Position.TOP, fontSize: Int = 12, fontStyle: FontStyle? = null, fontColor: Color? = null, fontFamily: String? = null, padding: Int = 10, lineHeight: String? = null, text: List<String>? = null) +

Chart title options.

+
+

Properties

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

display

+
+val display: Boolean
+

fontColor

+
+val fontColor: Color?
+

fontFamily

+
+val fontFamily: String?
+

fontSize

+
+val fontSize: Int
+

fontStyle

+
+val fontStyle: FontStyle?
+

lineHeight

+
+val lineHeight: String?
+

padding

+
+val padding: Int
+

position

+
+val position: Position
+

text

+
+val text: List<String>?
+

Extension Functions

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

createInstance

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

Helper function for creating JavaScript objects from dynamic constructors.

+
+

toJs

+
+fun TitleOptions.toJs(i18nTranslator: (String) -> String): dynamic +

An extension function to convert configuration class to JS object.

+
+ + -- cgit