[Days with QSOs] Updated js to fix colors after Chart.js upgrade

pull/1605/head
Andreas 2022-09-18 16:53:45 +02:00
rodzic 9f87fd9487
commit 58b4968cfc
1 zmienionych plików z 13 dodań i 10 usunięć

Wyświetl plik

@ -19,26 +19,29 @@ $.ajax({
data: dataDxcc,
backgroundColor: 'rgba(54, 162, 235, 0.2)',
borderColor: 'rgba(54, 162, 235, 1)',
borderWidth: 2
borderWidth: 2,
color: color
}]
},
options: {
scales: {
yAxes: [{
y: {
ticks: {
beginAtZero: true,
fontColor: color
color: color
}
}],
xAxes: [{
},
x: {
ticks: {
fontColor: color
color: color
}
}]
}
},
legend: {
labels: {
fontColor: color
plugins: {
legend: {
labels: {
color: color
}
}
}
}