DivergingLogScale<R> constructor
DivergingLogScale<R> ({
- List<
double> ? domain, - required Interpolator<
R> interpolator, - bool clamp = false,
- double base = 10,
Implementation
DivergingLogScale({
List<double>? domain,
required Interpolator<R> interpolator,
bool clamp = false,
double base = 10,
}) : _domain = domain ?? [0.1, 1, 10],
_interpolator = interpolator,
_clamp = clamp,
_base = base {
assert(_domain.length == 3,
'Diverging scale requires exactly 3 domain values');
}