base property
The scale's base.
final x = ScaleLog(
domain: [1, 1024],
range: [0, 960],
interpolate: interpolateNumber,
)..base = 2;
Defaults to 10. Note that due to the nature of a logarithmic transform,
the base does not affect the encoding of the scale; it only affects which
ticks
are chosen.
Implementation
num get base => _base;
Implementation
set base(num base) {
_base = base;
_rescale();
}