From f715f36ed31684cc4b6f8a76273704651d7db3da Mon Sep 17 00:00:00 2001 From: Maxime Beauchemin Date: Tue, 19 Feb 2019 09:47:04 -0800 Subject: [PATCH] [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 0e6d5cc97..142c1d663 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 9ad28f028..910b3389e 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(