Adds works chart and updates colors

This commit is contained in:
Mouse Reeve
2021-10-04 11:14:50 -07:00
parent 37cd7e684c
commit 551b49b903
6 changed files with 63 additions and 28 deletions

View File

@ -8,8 +8,8 @@ var registerStats = new Chart(
labels: [{% for label in register_stats.labels %}"{{ label }}",{% endfor %}],
datasets: [{
label: '{% trans "Registrations" %}',
backgroundColor: 'rgb(75, 192, 192)',
borderColor: 'rgb(75, 192, 192)',
backgroundColor: 'hsl(171, 100%, 41%)',
borderColor: 'hsl(171, 100%, 41%)',
data: {{ register_stats.total }},
}]
},