kvision / pl.treksoft.kvision.chart / TitleOptions

TitleOptions

(js) data class TitleOptions

Chart title options.

Constructors

(js)

<init>

Chart title options.

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, fullWidth: Boolean? = null)

Properties

(js)

display

val display: Boolean
(js)

fontColor

val fontColor: Color?
(js)

fontFamily

val fontFamily: String?
(js)

fontSize

val fontSize: Int
(js)

fontStyle

val fontStyle: FontStyle?
(js)

fullWidth

val fullWidth: Boolean?
(js)

lineHeight

val lineHeight: String?
(js)

padding

val padding: Int
(js)

position

val position: Position
(js)

text

val text: List<String>?

Extension Functions

(js)

toJs

An extension function to convert configuration class to JS object.

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