Fix scaling of the activity graph
This commit is contained in:
parent
31edddc5cf
commit
ef4903253d
|
@ -371,7 +371,8 @@ public class GraphData {
|
||||||
actArrayHist.add(new ScaledDataPoint(time, act, actScale));
|
actArrayHist.add(new ScaledDataPoint(time, act, actScale));
|
||||||
else
|
else
|
||||||
actArrayPred.add(new ScaledDataPoint(time, act, actScale));
|
actArrayPred.add(new ScaledDataPoint(time, act, actScale));
|
||||||
if (act > maxIAValue) maxIAValue = act;
|
|
||||||
|
maxIAValue = Math.max(maxIAValue, Math.abs(act));
|
||||||
}
|
}
|
||||||
|
|
||||||
ScaledDataPoint[] actData = new ScaledDataPoint[actArrayHist.size()];
|
ScaledDataPoint[] actData = new ScaledDataPoint[actArrayHist.size()];
|
||||||
|
|
Loading…
Reference in a new issue