kvision / pl.treksoft.kvision.chart / ScaleTitleOptions

ScaleTitleOptions

(js) data class ScaleTitleOptions

Chart scale title options.

Constructors

(js)

<init>

Chart scale title options.

ScaleTitleOptions(display: Boolean = false, labelString: String? = null, fontSize: Int = 12, fontStyle: FontStyle? = null, fontColor: Color? = null, fontFamily: String? = null, lineHeight: Number? = null, padding: Number? = 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)

labelString

val labelString: String?
(js)

lineHeight

val lineHeight: Number?
(js)

padding

val padding: Number?

Extension Functions

(js)

toJs

An extension function to convert configuration class to JS object.

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