line

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

Add a LineMark 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.