area

fun <DOMAIN, YVAL> Chart<DOMAIN>.area(x: Quantitative<DOMAIN>, y: Discrete<DOMAIN, YVAL>, init: AreaMark<DOMAIN, Double?, YVAL>.() -> Unit = {})

Add an AreaMark to the current Chart.

Parameters

init

The initialization lambda for this Mark

x

The Quantitative for the X axis

y

The Discrete for the Y axis

fun <DOMAIN, XVAL> Chart<DOMAIN>.area(x: Discrete<DOMAIN, XVAL>, y: Quantitative<DOMAIN>, init: AreaMark<DOMAIN, XVAL, Double?>.() -> Unit = {})

Add an AreaMark to the current Chart.

Parameters

init

The initialization lambda for this Mark

x

The Discrete for the X axis

y

The Quantitative for the Y axis