maxValue property
double
maxValue
Determines max value for chart to draw.
If predefinedMaxValue is set, then it will be used as max value, omitting limit value.
If limit is not set, then max value will be retrieved from data. Otherwise it will be one of limit or max value from data, depending on which one is greater.
Implementation
double get maxValue {
if (!canDraw) {
return 1;
}
return _maxValue;
}