Ticks class

The ticks to annotate an axis of the plot.

Constructors

Ticks({List<double> predefinedTicks = const [], bool logarithmic = false, bool pretty = false, int fractionDigits = 3, int maxNumTicks = 15, int minNumTicks = 11, String? unit})

Properties

empty bool
no setter
fractionDigits int
Number of fraction digits to display at each tick.
final
hashCode int
The hash code for this object.
no setteroverride
labels List<String>
no setter
logarithmic bool
Determines if the axis should be logarithmic or not.
final
maxNumTicks int
Minimum number of ticks to display.
final
minNumTicks int
Maximum number of ticks to display.
final
predefinedTicks List<double>
Predefine a list of ticks.
final
pretty bool
Determines if the ticks should be generated using the flutterplot "pretty" strategy. The "naive" strategy is default.
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
ticks List<double>
no setter
unit String?
The unit to denote the ticks.
final

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() String
A string representation of this object.
inherited
update(double minimum, double maximum) → void

Operators

operator ==(covariant Ticks other) bool
The equality operator.
override