[QSO Stats Year] Reversed array to that graph shows from oldest to newest year

pull/1908/head
Andreas 2023-01-05 08:36:29 +01:00
rodzic d37b9c4438
commit a56e24304d
1 zmienionych plików z 3 dodań i 0 usunięć

Wyświetl plik

@ -104,6 +104,9 @@ function totalQsosPerYear() {
labels.push(this.year);
dataQso.push(this.total);
});
labels.reverse();
dataQso.reverse();
var ctx = document.getElementById("yearChart").getContext('2d');
var myChart = new Chart(ctx, {