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

@ -9,8 +9,8 @@ var statusStats = new Chart(
labels: [{% for label in status_stats.labels %}"{{ label }}",{% endfor %}],
datasets: [{
label: '{% trans "Statuses posted" %}',
backgroundColor: 'rgb(255, 99, 132)',
borderColor: 'rgb(255, 99, 132)',
backgroundColor: 'hsl(141, 71%, 48%)',
borderColor: 'hsl(141, 71%, 48%)',
data: {{ status_stats.total }},
}]
},