DiscreteScale<V> class abstract

The specification of a discrete scale.

A discrete scale converts original tuple values to ints of natural number.

Inheritance
Implementers

Constructors

DiscreteScale({List<V>? values, bool? inflate, double? align, String? title, String? formatter(V)?, List<V>? ticks, int? tickCount})
Creates a discrete scale.

Properties

align double?
The align ratio of the exact position in the value position band.
getter/setter pair
formatter ↔ (String? Function(V)?)
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 pair
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<V>?
Indicates the axis ticks directly.
getter/setter pairinherited
title String?
Title of the variable this scale corresponds to.
getter/setter pairinherited
values List<V>?
The candidate values.
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