ScaleDivergingLog<Y> class
final
Diverging scales
A diverging scale with a logarithmic transform, analogous to ScaleLog.
- Inheritance
-
- Object
- ScaleDiverging<
Y> - ScaleDivergingLog
- Implemented types
- Available extensions
Constructors
-
ScaleDivergingLog.new({List<
num> ? domain = const [0.1, 1, 10], required Y interpolator(num)}) - Returns a new diverging 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(
) → ScaleDivergingLog< Y> -
Returns an exact copy of this scale.
override
-
nice(
[num count = 0]) → void -
Like
ScaleLinear.nice
, except extends the domain to integer powers ofbase
.inherited -
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
rangeRound(
List< num> range) → void -
Available on ScaleDiverging<
See ScaleContinuousNumberExtension.rangeRound.num> , provided by the ScaleDivergingNumberExtension extension -
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