OrdinalScaleConv class

The ordinal scale converter.

Inheritance

Constructors

OrdinalScaleConv(OrdinalScale spec, List<Tuple> tuples, String variable)

Properties

align double
The align ratio.
read / writeinherited
band double
The band ratio of each value.
read / writeinherited
formatter String? Function(String)
The scale formatter
read / writeinherited
hashCode int
The hash code for this object.
read-onlyinherited
inflate bool
Whether to inflate the axis range.
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<String>
The scale ticks.
read / writeinherited
title String
the scale title.
read / writeinherited
values List<String>
The candidate values.
read / writeinherited
zero String
The zero of V.
read-onlyinherited

Methods

convert(String input) int
Converts an input to output.
inherited
defaultFormatter(String value) String
The default formatter of V for formatter.
override
denormalize(double normalValue) int
De-normalizes a 0, 1 value to scaled value.
inherited
format(String value) String?
Formats a value to string.
inherited
invert(int output) String
Inverts an output to input.
inherited
normalize(int 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