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.
getter/setter pair
- hashCode → int
-
The hash code for this object.
no setterinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- tickCount ↔ int?
-
The desired count of axis ticks.
getter/setter pair
-
ticks
↔ List<
V> ? -
Indicates the axis ticks directly.
getter/setter pair
- title ↔ String?
-
Title of the variable this scale corresponds to.
getter/setter pair
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