setAxisMaximum method
Set a custom maximum value for this axis. If set, this value will not be calculated automatically depending on the provided data. Use resetAxisMaxValue() to undo this.
@param max
Implementation
void setAxisMaximum(double max) {
_customAxisMax = true;
_axisMaximum = max;
_axisRange = (max - _axisMinimum!).abs();
}