From 8bc3b9e67e7c6c52b4def55352fb9dc9c7b3ff22 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Juan=20Salvador=20P=C3=A9rez=20Garc=C3=ADa?= Date: Fri, 6 Jul 2018 09:32:08 +0200 Subject: [PATCH] Fixed y axis Y axis was showing 0 - 10% of max value --- app/assets/javascripts/dashboard_graphs.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/assets/javascripts/dashboard_graphs.js b/app/assets/javascripts/dashboard_graphs.js index e779dc118..4077aff01 100644 --- a/app/assets/javascripts/dashboard_graphs.js +++ b/app/assets/javascripts/dashboard_graphs.js @@ -85,7 +85,7 @@ }, axis: { y: { - min: 0, + min: this.proposalSuccess * 0.1, max: this.proposalSuccess, label: { text: this.supportsLabel,