temporal

fun <DOMAIN> Chart<DOMAIN>.temporal(accessor: Datum<DOMAIN>.() -> Instant, init: Temporal<DOMAIN>.() -> Unit = {}): Temporal<DOMAIN>

Create a Temporal dimension for the Chart.

Parameters

accessor

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

init

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