From 64db15cde252eb86cf2703b7759ba3b9165d75ee Mon Sep 17 00:00:00 2001 From: Marvin Borner Date: Sat, 30 Jan 2021 00:29:41 +0100 Subject: Responsiveness --- admin/public/questions.js | 12 +----------- 1 file changed, 1 insertion(+), 11 deletions(-) (limited to 'admin/public/questions.js') diff --git a/admin/public/questions.js b/admin/public/questions.js index 279b838..0f3358b 100644 --- a/admin/public/questions.js +++ b/admin/public/questions.js @@ -33,20 +33,10 @@ function render(index) { }, options: { responsive: true, - maintainAspectRatio: false, + maintainAspectRatio: true, legend: { display: false, }, - scales: { - yAxes: [ - { - ticks: { - beginAtZero: true, - precision: 0, - }, - }, - ], - }, }, }); } -- cgit v1.2.3