calcMinMax1 method
Updates the min and max x and y value of this DataSet based on the given Entry.
@param e
Implementation
@override
void calcMinMax1(BarEntry? e) {
if (e != null && !e.y.isNaN) {
if (e.yVals == null) {
if (e.y < getYMin()) yMin = e.y;
if (e.y > getYMax()) yMax = e.y;
} else {
if (-e.negativeSum! < getYMin()) yMin = -e.negativeSum!;
if (e.positiveSum! > getYMax()) yMax = e.positiveSum!;
}
calcMinMaxX1(e);
}
}