plot

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

Add a PlotMarkImpl to the current Chart.

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