You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@superset.apache.org by ma...@apache.org on 2018/03/09 23:31:36 UTC

[incubator-superset] branch master updated: histograms: fixup left margin assigment (#4532)

This is an automated email from the ASF dual-hosted git repository.

maximebeauchemin pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/incubator-superset.git


The following commit(s) were added to refs/heads/master by this push:
     new f988110  histograms: fixup left margin assigment (#4532)
f988110 is described below

commit f9881101ee9cd447f7ccb2d38bc7563f31f686c5
Author: Riccardo Magliocchetti <ri...@gmail.com>
AuthorDate: Sat Mar 10 00:31:34 2018 +0100

    histograms: fixup left margin assigment (#4532)
---
 superset/assets/visualizations/histogram.js | 3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)

diff --git a/superset/assets/visualizations/histogram.js b/superset/assets/visualizations/histogram.js
index b4bf6fc..2f29231 100644
--- a/superset/assets/visualizations/histogram.js
+++ b/superset/assets/visualizations/histogram.js
@@ -13,12 +13,11 @@ function histogram(slice, payload) {
 
   const draw = function () {
     // Set Margins
-    const left = yAxisLabel ? 70 : 50;
     const margin = {
       top: 50,
       right: 10,
       bottom: 20,
-      left,
+      left: yAxisLabel ? 70 : 50,
     };
     const navBarHeight = 36;
     const navBarBuffer = 10;

-- 
To stop receiving notification emails like this one, please contact
maximebeauchemin@apache.org.