aboutsummaryrefslogtreecommitdiff
path: root/admin/public
diff options
context:
space:
mode:
authorMarvin Borner2021-01-30 00:29:41 +0100
committerMarvin Borner2021-01-30 00:29:41 +0100
commit64db15cde252eb86cf2703b7759ba3b9165d75ee (patch)
tree34b699e862a1b7fc722cdfe11abf5d29c5a3336b /admin/public
parent6d3482b410b43ec34ac0135ad1390260856a8a02 (diff)
Responsiveness
Diffstat (limited to 'admin/public')
-rw-r--r--admin/public/questions.js12
1 files changed, 1 insertions, 11 deletions
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,
- },
- },
- ],
- },
},
});
}