getLabelMinY method
Get the minimum (the first, the bottommost) Y label value.
If _initialLabelMinY
is null, which means that labelMinY
value from the constructor
was not supplied, minimum Y label value will be retrieved from
floor(minimum Y value in data points).
Implementation
double getLabelMinY() {
if (_initialLabelMinY != null) return _initialLabelMinY!;
if (_dataPointMinY == _dataPointMaxY) {
return (0.8 * _dataPointMaxY).roundToDouble();
}
return _dataPointMinY.roundToDouble();
}