mirror of
https://github.com/Aider-AI/aider.git
synced 2025-05-30 09:14:59 +00:00
feat: Sort data points in time order
This commit is contained in:
parent
9ad41e9229
commit
fbc4ffbaee
1 changed files with 1 additions and 1 deletions
|
@ -42,7 +42,7 @@ document.addEventListener('DOMContentLoaded', function() {
|
|||
x: moment(item.date).toDate(),
|
||||
y1: item.pass_rate_1,
|
||||
y2: item.pass_rate_2
|
||||
}));
|
||||
})).sort((a, b) => a.x - b.x);
|
||||
|
||||
new Chart(ctx, {
|
||||
type: 'line',
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue