mirror of
https://github.com/monkeytypegame/monkeytype.git
synced 2025-02-04 13:01:10 +08:00
showing all error data points until i figure out another solution
This commit is contained in:
parent
9a906bfc74
commit
ddd70386f5
1 changed files with 2 additions and 2 deletions
|
@ -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;
|
||||
|
|
Loading…
Reference in a new issue