kvision / pl.treksoft.kvision.chart / TickOptions

TickOptions

(js) data class TickOptions

Chart tick options.

Constructors

(js)

<init>

Chart tick options.

TickOptions(callback: ((value: Any, index: Any, values: Any) -> dynamic)? = null, display: Boolean = true, fontSize: Int = 12, fontStyle: FontStyle? = null, fontColor: Color? = null, fontFamily: String? = null, reverse: Boolean = false, minor: dynamic = null, major: dynamic = null, lineHeight: Number? = null, padding: Number? = null, z: Number? = null)

Properties

(js)

callback

val callback: ((value: Any, index: Any, values: Any) -> dynamic)?
(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)

lineHeight

val lineHeight: Number?
(js)

major

val major: dynamic
(js)

minor

val minor: dynamic
(js)

padding

val padding: Number?
(js)

reverse

val reverse: Boolean
(js)

z

val z: Number?

Extension Functions

(js)

toJs

An extension function to convert configuration class to JS object.

fun TickOptions.toJs(): dynamic