ScaleSequentialLog<Y> class final Sequential scales

A sequential scale with a logarithmic transform, analogous to ScaleLog.

Inheritance
Implemented types
Available extensions

Constructors

ScaleSequentialLog.new({List<num>? domain = const [1, 10], required Y interpolator(num)})
Returns a new sequential scale with a logarithmic transform, analogous to ScaleLog.

Properties

base num
The scale's base.
getter/setter pairinherited
clamp bool
getter/setter pairinherited
domain List<num>
The scale's domain that specifies the input values.
getter/setter pairinherited
hashCode int
The hash code for this object.
no setterinherited
interpolator ↔ Y Function(num)
The scale’s interpolator.
getter/setter pairinherited
range List<Y>
See ScaleLinear.range.
getter/setter pairinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
unknown ↔ Y?
getter/setter pairinherited

Methods

call(num? x) → Y?
Given a value from the domain, returns the corresponding value from the range.
inherited
copy() ScaleSequentialLog<Y>
Returns an exact copy of this scale.
override
nice([num count = 0]) → void
Like ScaleLinear.nice, except extends the domain to integer powers of base.
inherited
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
rangeRound(List<num> range) → void

Available on ScaleSequential<num>, provided by the ScaleSequentialNumberExtension extension

See ScaleContinuousNumberExtension.rangeRound.
tickFormat([num count = 10, Object? specifier]) String Function(num)
Like ScaleLinear.tickFormat, but customized for a log scale.
inherited
ticks([num count = 10]) List<num>
Like ScaleLinear.ticks, but customized for a log scale.
inherited
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited

Static Methods

dynamic({List<num>? domain = const [1, 10], Interpolator<num> interpolator = identity}) ScaleSequential<Object?>
override
number({List<num>? domain = const [1, 10], Interpolator<num> interpolator = identity}) ScaleSequential<num>
override