ScaleSequentialQuantile<Y> class final Sequential scales

A sequential scale with a p-quantile transform, analogous to a ScaleQuantile.

Implemented types

Constructors

ScaleSequentialQuantile.new({List<num?>? domain, required Y interpolator(num)})
Returns a new sequential scale with a p-quantile transform, analogous to a ScaleQuantile.

Properties

domain List<num>
The scale's domain that specifies the input values.
getter/setter pairoverride
hashCode int
The hash code for this object.
no setterinherited
interpolator ↔ Y Function(num)
getter/setter pair
range List<Y>
The scale's range that specifies the output values.
getter/setter pairoverride
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

call(num? x) → Y?
Given a value from the domain, returns the corresponding value from the range.
override
copy() ScaleSequentialQuantile<Y>
Returns an exact copy of this scale.
override
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
quantiles(int n) List<num?>
Returns an list of n + 1 quantiles.
toString() String
A string representation of this object.
inherited

Operators

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

Static Methods

dynamic({List<num?>? domain, Interpolator<num> interpolator = identity}) ScaleSequentialQuantile<Object?>
number({List<num?>? domain, Interpolator<num> interpolator = identity}) ScaleSequentialQuantile<num>