boxPlot

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

Add a vertical BoxPlotMark 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.

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

Add a horizontal BoxPlotMark 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.