Resolved bug where the chart is showing the start timestamp as the end timestamp.

This commit is contained in:
Daniel Collin 2016-02-18 16:18:33 +01:00
parent 776f09899d
commit 6357e4519f

View file

@ -77,7 +77,7 @@ public class AggregateDataListSqlResult implements SQLResultHandler<ArrayList<Ag
list.add(new AggregateData(previousTimestampEnd+1, "null", username));
}
list.add(new AggregateData(timestampStart, ""+ (estimatedData/1000.0), username)); //add this data point to list
list.add(new AggregateData(timestampEnd, ""+ (estimatedData/1000.0), username)); //add this data point to list
//update previous end timestamp
previousTimestampEnd = timestampEnd;