From 4c89a0783d2e1fd8af2ede21a2231877f84f2097 Mon Sep 17 00:00:00 2001 From: trotFunky Date: Wed, 24 Jul 2024 18:08:13 +0100 Subject: [PATCH] vote_chart: Add title to the graph --- static_files/vote_chart.js | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/static_files/vote_chart.js b/static_files/vote_chart.js index fe93e11..8dd6869 100644 --- a/static_files/vote_chart.js +++ b/static_files/vote_chart.js @@ -75,6 +75,13 @@ async function main() { y: { stacked: true } + }, + plugins: { + title: { + display: true, + position: 'bottom', + text: 'RĂ©partition des suppositions' + } } } })