<BUG>double max = 0;for (int i = 0; i < datas.length; i++) {for (int j = 0; j < datas[i].length; j++) {final double value = datas[i][j];</BUG><CONTEXT>this.data, this.width, this.height, this.incrYAxisScale, this.color,this.legendFont, graphics);}}private double findMax(double[][] datas) {<extra_id_0>if ((!Double.isNaN(value)) && (value > max)) {</CONTEXT>
for (double[] data : datas) {for (final double value : data) {