feat: Increase chart height and improve title and axis label readability

This commit is contained in:
Paul Gauthier (aider) 2024-09-26 09:42:01 -07:00
parent c33dd0ee7b
commit d699f3025d

View file

@ -46,7 +46,7 @@ The graph below and table show the
[aider's code editing benchmark](/docs/benchmarks.html#the-benchmark) [aider's code editing benchmark](/docs/benchmarks.html#the-benchmark)
score for various combinations of Senior and Junior models. score for various combinations of Senior and Junior models.
<div> <div style="height: 500px;">
<canvas id="seniorJuniorChart"></canvas> <canvas id="seniorJuniorChart"></canvas>
</div> </div>
@ -89,7 +89,10 @@ document.addEventListener('DOMContentLoaded', function() {
plugins: { plugins: {
title: { title: {
display: true, display: true,
text: 'Pass Rate for Senior/Junior/EditFormat Combinations' text: 'Pass Rate for Senior/Junior/EditFormat Combinations',
font: {
size: 18
}
}, },
legend: { legend: {
position: 'top', position: 'top',
@ -105,7 +108,10 @@ document.addEventListener('DOMContentLoaded', function() {
max: 100, max: 100,
title: { title: {
display: true, display: true,
text: 'Pass Rate (%)' text: 'Pass Rate (%)',
font: {
size: 14
}
} }
} }
} }