BarEntry class

Inheritance

Constructors

BarEntry({required double x, required double y, Image? icon, Object? data})
BarEntry.fromListYVals({required double x, List<double>? vals, Image? icon, Object? data})

Properties

hashCode int
The hash code for this object.
no setterinherited
mData Object?
getter/setter pairinherited
mIcon Image?
getter/setter pairinherited
negativeSum double?
no setter
positiveSum double?
no setter
ranges List<Range?>?
no setter
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
x double
getter/setter pairinherited
y double
getter/setter pairinherited
yVals List<double>?
no setter

Methods

calcPosNegSum() → void
calcRanges() → void
copy() BarEntry
override
getSumBelow(int stackIndex) double
isStacked() bool
Returns true if this BarEntry is stacked (has a values array), false if not.
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
setVals(List<double>? vals) → void
Set the array of values this BarEntry should represent.
toString() String
A string representation of this object.
inherited

Operators

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

Static Methods

calcSum(List<double>? vals) double
Calculates the sum across all values of the given stack.