kvision / pl.treksoft.kvision.chart / ChartScales

ChartScales

(js) data class ChartScales

Chart scales.

Constructors

(js)

<init>

Chart scales.

ChartScales(type: ScalesType? = null, display: Boolean = true, position: Position? = null, gridLines: GridLineOptions? = null, scaleLabel: ScaleTitleOptions? = null, ticks: TickOptions? = null, xAxes: List<dynamic>? = null, yAxes: List<dynamic>? = null)

Properties

(js)

display

val display: Boolean
(js)

gridLines

val gridLines: GridLineOptions?
(js)

position

val position: Position?
(js)

scaleLabel

val scaleLabel: ScaleTitleOptions?
(js)

ticks

val ticks: TickOptions?
(js)

type

val type: ScalesType?
(js)

xAxes

val xAxes: List<dynamic>?
(js)

yAxes

val yAxes: List<dynamic>?

Extension Functions

(js)

toJs

An extension function to convert configuration class to JS object.

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