range property
Returns the previously set output range for the scale function.
Implementation
@override
ScaleOutputExtent? get range => _viewportSettings.range;
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
@override
set range(ScaleOutputExtent? extent) {
_viewportSettings.range = extent;
_scaleReady = false;
}