maxY property

double maxY

Implementation

double get maxY =>
    dataPoints.isEmpty ? 0 : dataPoints.map((e) => e.y).reduce(max);