child

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

Creates a child Dimension with the given accessor, use child dimensions to share axes with different properties.

Note: if current dimension is already a "child" dimension, attach this dimension to the current's parent.

Parameters

accessor

This child Dimension accessor

init

The initialization lambda for this Dimension