kvision / pl.treksoft.kvision.chart / LayoutPaddingObject

LayoutPaddingObject

data class LayoutPaddingObject

Chart layout padding options.

Constructors

<init>

LayoutPaddingObject(top: Int? = null, right: Int? = null, bottom: Int? = null, left: Int? = null)

Chart layout padding options.

Properties

bottom

val bottom: Int?

left

val left: Int?

right

val right: Int?

top

val top: Int?

Extension Functions

createInstance

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

Helper function for creating JavaScript objects from dynamic constructors.

toJs

fun LayoutPaddingObject.toJs(): dynamic

An extension function to convert configuration class to JS object.