From ced4f9f0d9ef93b5cb43de01bfba6ee8feb2048a Mon Sep 17 00:00:00 2001 From: "Paul Gauthier (aider)" Date: Thu, 21 Nov 2024 11:06:52 -0800 Subject: [PATCH] feat: Add chart title, y-axis label, and remove legend --- aider/website/_includes/quant-chart.js | 15 ++++++++++++++- 1 file changed, 14 insertions(+), 1 deletion(-) diff --git a/aider/website/_includes/quant-chart.js b/aider/website/_includes/quant-chart.js index 9ae95160c..7cc4f6701 100644 --- a/aider/website/_includes/quant-chart.js +++ b/aider/website/_includes/quant-chart.js @@ -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' + } } } }