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

这个提交包含在:
Andreas 2022-09-18 16:53:45 +02:00
父节点 9f87fd9487
当前提交 58b4968cfc

查看文件

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