quantitative

fun <DOMAIN> Chart<DOMAIN>.quantitative(accessor: Datum<DOMAIN>.() -> Double?, init: Quantitative<DOMAIN>.() -> Unit = {}): Quantitative<DOMAIN>

Create a Quantitative dimension for the Chart.

Parameters

accessor

The "accessor" is a lambda used to retrieve a Double? from a Datum.

init

The initialization lambda that will be applied to the Dimension just after its instantiation.