Skip to content

Commit d85663e

Browse files
committed
rounding data points
1 parent 1ccbb49 commit d85663e

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

frontend/src/ts/test/result.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -84,6 +84,7 @@ async function updateGraph(): Promise<void> {
8484
let smoothedRawData = chartData2;
8585
if (!useUnsmoothedRaw) {
8686
smoothedRawData = Misc.smooth(smoothedRawData, 1);
87+
smoothedRawData = smoothedRawData.map((a) => Math.round(a));
8788
}
8889

8990
ChartController.result.data.labels = labels;

0 commit comments

Comments
 (0)