From 394482b24852c96debc4ab00947d93d8a2a4944a Mon Sep 17 00:00:00 2001 From: Riccardo Magliocchetti Date: Sun, 4 Mar 2018 11:57:39 +0100 Subject: [PATCH] histograms: fixup left margin assigment --- 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 b4bf6fcc746d..2f292311102c 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;