getLabelMaxX method

double getLabelMaxX()

Get the maximum (the last, the rightmost) X label value. If _initialLabelMaxX is null, which means that labelMaxX value from the constructor was not supplied, maximum X label value will be retrieved from ceil(maximum X value in data points).

Implementation

double getLabelMaxX() {
  if (_initialLabelMaxX != null) return _initialLabelMaxX!;
  return _dataPointMaxX.ceilToDouble();
}