OrdinalScale class

The specification of a ordinal scale.

It converts String to ints of natural number in order.

Inheritance

Constructors

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

Properties

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

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