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.
read / write
formatter ↔ (String? Function(V)?)
Convert the value to a String on the chart.
read / writeinherited
hashCode int
The hash code for this object.
read-onlyinherited
inflate bool?
Whether the points distribution will inflate the axis range.
read / write
runtimeType Type
A representation of the runtime type of the object.
read-onlyinherited
tickCount int?
The desired count of axis ticks.
read / writeinherited
ticks List<V>?
Indicates the axis ticks directly.
read / writeinherited
title String?
Title of the variable this scale corresponds to.
read / writeinherited
values List<V>?
The candidate values.
read / write

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