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)

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)

major

val major: dynamic
(js)

minor

val minor: dynamic
(js)

reverse

val reverse: Boolean

Extension Functions

(js)

toJs

An extension function to convert configuration class to JS object.

fun TickOptions.toJs(): dynamic