setAxisMinimum method

void setAxisMinimum(
  1. double min
)

Set a custom minimum value for this axis. If set, this value will not be calculated automatically depending on the provided data. Use resetAxisMinValue() to undo this. Do not forget to call setStartAtZero(false) if you use this method. Otherwise, the axis-minimum value will still be forced to 0.

@param min

Implementation

void setAxisMinimum(double min) {
  _customAxisMin = true;
  _axisMinimum = min;
  this._axisRange = (_axisMaximum - min).abs();
}