OrdinalScale class

The specification of a ordinal scale.

It converts String to ints of natural number in order.



OrdinalScale({List<String>? values, bool? inflate, double? align, String? title, String? formatter(String)?, List<String>? ticks, int? tickCount})


align double?
The align ratio of the exact position in the value position band.
getter/setter pairinherited
formatter ↔ (String? Function(String)?)
Convert the value to a String on the chart.
getter/setter pairinherited
hashCode int
The hash code for this object.
no setterinherited
inflate bool?
Whether the points distribution will inflate the axis range.
getter/setter pairinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
tickCount int?
The desired count of axis ticks.
getter/setter pairinherited
ticks List<String>?
Indicates the axis ticks directly.
getter/setter pairinherited
title String?
Title of the variable this scale corresponds to.
getter/setter pairinherited
values List<String>?
The candidate values.
getter/setter pairinherited


noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
toString() String
A string representation of this object.


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