ChartAxisDataItem class

A collection of values for an axis in a chart.

Constructors

ChartAxisDataItem({required String label, required double value})

Properties

currentPos Offset
Current position during the animation.
no setter
currentTextStyle TextStyle
Current TextStyle during the animation.
no setter
hashCode int
The hash code for this object.
no setterinherited
label String
The label of data item.
final
lastPos Offset
Last position on finish/stop animation.
no setter
lastTextStyle TextStyle
Last TextStyle on finish/stop animation.
no setter
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
value double
The value of data item.
final

Methods

dispose() → void
Disposing all animations.
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
setup({required AnimationController controller, required Offset pos, required TextStyle textStyle, Offset? initialPos, TextStyle? initialTextStyle, ChartAxisDataItem? oldItem}) → void
Initialize animation.
toString() String
A string representation of this object.
inherited

Operators

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