Scale<V, SV extends num> class
abstract
The specification of a scale.
A scale converts original tuple values to scaled values. For DiscreteScale,
the scaled value is an int of natural number, and for ContinuousScale is
a double normalized to [0, 1]
.
Besides, variable meta data and axis tick settings are also specified in it's scale.
The generic V
is the type of original value, and SV
is the type of scaled
value.
See also:
- Implementers
Constructors
Properties
- formatter ↔ (String? Function(V)?)
-
Convert the value to a String on the chart.
read / write
- hashCode → int
-
The hash code for this object.
read-onlyinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
read-onlyinherited
- tickCount ↔ int?
-
The desired count of axis ticks.
read / write
-
ticks
↔ List<
V> ? -
Indicates the axis ticks directly.
read / write
- title ↔ String?
-
Title of the variable this scale corresponds to.
read / write
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
override