ChartLineDataItem class

A collection of values for a line in a chart.

Inheritance

Constructors

ChartLineDataItem({required double value, required double x})

Properties

currentTouchPos Offset
Current touch area position during the animation.
no setter
currentTouchSize Size
Current touch area size during the animation.
no setter
currentValueColor Color
Current color during the animation.
no setter
currentValuePos Offset
Current position during the animation.
no setter
hashCode int
The hash code for this object.
no setterinherited
lastTouchPos Offset
Last touch area position on finish/stop animation.
no setter
lastTouchSize Size
Last touch area size on finish/stop animation.
no setter
lastValueColor Color
Last color on finish/stop animation.
no setter
lastValuePos Offset
Last position 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
x double
The axis x of data item.
final

Methods

dispose() → void
Disposing all animations.
override
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
setupTouch({required AnimationController controller, required Offset pos, required Size size, Offset? initialPos, Size? initialSize, ChartLineDataItem? oldItem}) → void
Initialize touch area animations.
setupValue({required AnimationController controller, required Color color, required Offset pos, Color? initialColor, Offset? initialPos, ChartLineDataItem? oldItem}) → void
Initialuze value animations.
toString() String
A string representation of this object.
inherited

Operators

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