maxY property

double get maxY

Calculates the maximum Y value among the bars.

Implementation

double get maxY {
  _checkIfEmpty();
  return bars.map((bar) => bar.maxValue).max;
}