kvision / pl.treksoft.kvision.chart / ScaleTitleOptions

ScaleTitleOptions

data class ScaleTitleOptions

Chart scale title options.

Constructors

<init>

ScaleTitleOptions(display: Boolean = false, labelString: String? = null, fontSize: Int = 12, fontStyle: FontStyle? = null, fontColor: Color? = null, fontFamily: String? = null)

Chart scale title options.

Properties

display

val display: Boolean

fontColor

val fontColor: Color?

fontFamily

val fontFamily: String?

fontSize

val fontSize: Int

fontStyle

val fontStyle: FontStyle?

labelString

val labelString: String?

Extension Functions

createInstance

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

Helper function for creating JavaScript objects from dynamic constructors.

toJs

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

An extension function to convert configuration class to JS object.