BarValue<T> class
Bar value items have min locked to 0.0 (or ChartData.axisMin if defined) Value for bar item can be negative
- Inheritance
- Annotations
-
- @Deprecated('Use ChartItem(x)')
Constructors
- BarValue(double max)
- Simple BarValue item just with max value.
- BarValue.withValue(T value, double max)
-
Bar value, with item
T
and max value
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
- isEmpty → bool
-
Check if current item is empty
no setterinherited
- max → double?
-
Maximum item value
finalinherited
- min → double?
-
Minimum chart item value
finalinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- value → T?
-
Items can have value attached to them
T
finalinherited
Methods
-
animateFrom(
ChartItem< T?> startValue, double t) → ChartItem<T?> -
Animate from
startValue
to this with factort
inherited -
animateTo(
ChartItem< T?> endValue, double t) → ChartItem<T?> -
Animate to
endValue
with factort
inherited -
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) → ChartItem< T?> -
Multiply ChartItem with another ChartItem of number
inherited
-
operator +(
Object other) → ChartItem< T?> -
Add two ChartItem's together
T
value is taken fromother
inherited -
operator ==(
Object other) → bool -
The equality operator.
inherited