mirror of
https://github.com/Aider-AI/aider.git
synced 2025-05-28 16:25:00 +00:00
fixup
This commit is contained in:
parent
6d9043cf24
commit
c28d22f9b1
1 changed files with 2 additions and 4 deletions
|
@ -64,10 +64,8 @@ document.addEventListener('DOMContentLoaded', function () {
|
|||
var rows = text.split('\n');
|
||||
rows.forEach(function (row) {
|
||||
var columns = row.split(',');
|
||||
if (columns.length === 4) {
|
||||
leaderboardData.labels.push(columns[0]);
|
||||
leaderboardData.datasets[0].data.push(parseFloat(columns[1]));
|
||||
}
|
||||
leaderboardData.labels.push(columns[0]);
|
||||
leaderboardData.datasets[0].data.push(parseFloat(columns[1]));
|
||||
});
|
||||
new Chart(ctx, {
|
||||
type: 'bar',
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue