range property

ScaleOutputExtent? get range
inherited

Returns the previously set output range for the scale function.

Implementation

ScaleOutputExtent? get range;
set range (ScaleOutputExtent? extent)
inherited

Sets the output range to use for the scale's conversion.

The range start is mapped to the domain's min and the range end is mapped to the domain's max for the conversion using the domain nicing function.

extent is the extent of the range which will likely be the pixel range of the drawing area to convert to.

Implementation

set range(ScaleOutputExtent? extent);