showing all error data points until i figure out another solution

This commit is contained in:
Jack 2020-05-26 22:07:54 +01:00
parent 9a906bfc74
commit ddd70386f5

View file

@ -585,12 +585,12 @@ function showResult() {
let errorsNoZero = [];
for(let i = 0; i < errorsPerSecond.length; i++){
if(errorsPerSecond[i] != 0){
// if(errorsPerSecond[i] != 0){
errorsNoZero.push({
x: i+1,
y: errorsPerSecond[i]
});
}
// }
}
wpmOverTimeChart.data.datasets[1].data = errorsNoZero;