data class ChartScales
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)
Chart scales. |
val display: Boolean |
|
val gridLines: GridLineOptions? |
|
val position: Position? |
|
val scaleLabel: ScaleTitleOptions? |
|
val ticks: TickOptions? |
|
val type: ScalesType? |
|
val xAxes: List<dynamic>? |
|
val yAxes: List<dynamic>? |
fun <T> Any?.createInstance(vararg args: dynamic): T
Helper function for creating JavaScript objects from dynamic constructors. |
|
fun ChartScales.toJs(i18nTranslator: (String) -> String): dynamic
An extension function to convert configuration class to JS object. |