forked from upstream-mirrors/OpenTracks
fix typo in ChartFragment
This commit is contained in:
@@ -275,7 +275,7 @@ public class ChartView extends View {
|
||||
double[] dataPoint = dataPoints.get(i);
|
||||
xExtremityMonitor.update(dataPoint[0]);
|
||||
for (int j = 0; j < series.length; j++) {
|
||||
if (!Double.isNaN(dataPoint[j])) {
|
||||
if (!Double.isNaN(dataPoint[j + 1])) {
|
||||
series[j].update(dataPoint[j + 1]);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user