feat: Add chart title, y-axis label, and remove legend

This commit is contained in:
Paul Gauthier (aider) 2024-11-21 11:06:52 -08:00
parent 7fba332f58
commit ced4f9f0d9

View file

@ -28,9 +28,22 @@ document.addEventListener('DOMContentLoaded', function () {
type: 'bar',
data: chartData,
options: {
plugins: {
legend: {
display: false
},
title: {
display: true,
text: 'Aider coder editing benchmark'
}
},
scales: {
y: {
beginAtZero: true
beginAtZero: true,
title: {
display: true,
text: 'Percent completed correctly'
}
}
}
}