ChartItem<T> class

Default ChartItem

Implementers

Constructors

ChartItem(double? max, {double? min, T? value})
Constructor for regular items

Properties

hashCode int
The hash code for this object.
no setteroverride
isEmpty bool
Check if current item is empty
no setter
max double?
Maximum item value
final
min double?
Minimum chart item value
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
value → T?
Items can have value attached to them T
final

Methods

animateFrom(ChartItem<T?> startValue, double t) ChartItem<T?>
Animate from startValue to this with factor t
animateTo(ChartItem<T?> endValue, double t) ChartItem<T?>
Animate to endValue with factor t
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() String
A string representation of this object.
override

Operators

operator *(Object? other) ChartItem<T?>
Multiply ChartItem with another ChartItem of number
operator +(Object other) ChartItem<T?>
Add two ChartItem's together T value is taken from other
operator ==(Object other) bool
The equality operator.
override