Returns the calculated maximum value.
()
| 164 | |
| 165 | /** Returns the calculated maximum value. */ |
| 166 | public double getMax() { |
| 167 | if (!minAndMaxCalculated) |
| 168 | findMinAndMax(); |
| 169 | return max; |
| 170 | } |
| 171 | |
| 172 | /** Sets the y-axis min and max. Specify (0,0) to autoscale. */ |
| 173 | public static void setMinAndMax(double min, double max) { |
no test coverage detected