superset-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From maximebeauche...@apache.org
Subject [incubator-superset] branch master updated: [box plot] add X tick layout control (#6903)
Date Tue, 19 Feb 2019 17:47:17 GMT
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 f715f36  [box plot] add X tick layout control (#6903)
f715f36 is described below

commit f715f36ed31684cc4b6f8a76273704651d7db3da
Author: Maxime Beauchemin <maximebeauchemin@gmail.com>
AuthorDate: Tue Feb 19 09:47:04 2019 -0800

    [box plot] add X tick layout control (#6903)
---
 superset/assets/src/explore/controlPanels/BoxPlot.js | 2 +-
 superset/data/world_bank.py                          | 1 +
 2 files changed, 2 insertions(+), 1 deletion(-)

diff --git a/superset/assets/src/explore/controlPanels/BoxPlot.js b/superset/assets/src/explore/controlPanels/BoxPlot.js
index 0e6d5cc..142c1d6 100644
--- a/superset/assets/src/explore/controlPanels/BoxPlot.js
+++ b/superset/assets/src/explore/controlPanels/BoxPlot.js
@@ -35,7 +35,7 @@ export default {
       expanded: true,
       controlSetRows: [
         ['color_scheme'],
-        ['whisker_options'],
+        ['whisker_options', 'x_ticks_layout'],
       ],
     },
   ],
diff --git a/superset/data/world_bank.py b/superset/data/world_bank.py
index 9ad28f0..910b338 100644
--- a/superset/data/world_bank.py
+++ b/superset/data/world_bank.py
@@ -234,6 +234,7 @@ def load_world_bank_health_n_pop():
                 since='1960-01-01',
                 until='now',
                 whisker_options='Min/max (no outliers)',
+                x_ticks_layout='staggered',
                 viz_type='box_plot',
                 groupby=['region'])),
         Slice(


Mime
View raw message