getYChartMax method

  1. @override
double getYChartMax()
override

Returns the maximum y value of the chart, regardless of zoom or translation.

@return

Implementation

@override
double getYChartMax() {
  return max(_axisLeft!.axisMaximum!, _axisRight!.axisMaximum!);
}