mirror of https://github.com/JohnHammond/CTFd.git
Fixed scoreboard show graph bug
parent
2b4ccffe1b
commit
704c4144e7
|
@ -65,9 +65,10 @@ function scoregraph () {
|
|||
var date = moment(scores[teams[i]][j].time * 1000);
|
||||
times.push(date.format('YYYY-MM-DD hh:mm:ss'));
|
||||
}
|
||||
team_score = cumulativesum(team_score);
|
||||
var trace = {
|
||||
x: times,
|
||||
y: scores,
|
||||
y: team_score,
|
||||
mode: 'lines+markers',
|
||||
name: teams[i]
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue