empty

fun <DOMAIN, XVAL, YVAL> Chart<DOMAIN>.empty(x: Dimension<DOMAIN, XVAL>, y: Dimension<DOMAIN, YVAL>, init: EmptyMark<DOMAIN, XVAL, YVAL>.() -> Unit = {})

Add an EmptyMarkImpl to the current Chart. An EmptyMark is a Mark with no sign, it is used to display axes only.

Parameters

init

The initialization lambda for this Mark.

x

The Dimension for the X axis, this dimension can be continuous or discrete.

y

The Dimension for the Y axis, this dimension can be continuous or discrete.