TimeScaleConv class
The time scale converter.
Constructors
-
TimeScaleConv(TimeScale spec, List<
Tuple> tuples, String variable)
Properties
- formatter ↔ String? Function(DateTime)
-
The scale formatter
read / writeinherited
- hashCode → int
-
The hash code for this object.
read-onlyinherited
- max ↔ DateTime?
-
The maximum input boundary
read / writeinherited
- min ↔ DateTime?
-
The minimum input boundary.
read / writeinherited
- normalZero → double
-
Normalized value of zero.
read-onlyinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
read-onlyinherited
-
ticks
↔ List<
DateTime> -
The scale ticks.
read / writeinherited
- title ↔ String
-
the scale title.
read / writeinherited
- zero → DateTime
-
The zero of
V
.read-onlyoverride
Methods
-
convert(
DateTime input) → double - Converts an input to output.
-
defaultFormatter(
DateTime value) → String -
The default formatter of
V
for formatter.override -
denormalize(
double normalValue) → double -
De-normalizes a
0, 1
value to scaled value.inherited -
format(
DateTime value) → String? -
Formats a value to string.
inherited
-
invert(
double output) → DateTime - Inverts an output to input.
-
normalize(
double scaledValue) → double -
Normalizes a scaled value to
0, 1
.inherited -
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