This commit is contained in:
Paul Gauthier 2024-11-21 11:38:41 -08:00
parent a3dde4599a
commit 8448eff1eb
4 changed files with 113 additions and 6 deletions

View file

@ -20,8 +20,7 @@ document.addEventListener('DOMContentLoaded', function () {
{% endfor %}
allData.forEach(function(row) {
// Split the model name on \n to create array of lines
chartData.labels.push(row.model.split('\\n'));
chartData.labels.push(row.model);
chartData.datasets[0].data.push(row.pass_rate_2);
});