superset/caravel/assets/javascripts
vera-liu 89df2fcf76 Adjusted top margin of heatmap plot to get it working in V2 (#1361)
* Adjusted top margin of heatmap plot to get it working in V2

Problem:
The heatmap in V2 was shifted towards the top margin of slice
container, this was because in v2 slice name header was part of the
container body, while in v1 the header was separately defined in
explore.html template.

Solution:
To get heatmap properly shown in V2, we need to
take into account the height of the slice_name header. Adding to
margin_top will shift the plot in V1 too, but it won't make a big
difference to the look.

Ideally when we renovate slice container in future PR we would defined a
height for slice_name header and take it into account for all
visualization files.

* Added panel header height to margin_top for explore v2

* Use getBoundingClientRect to get header height

* Use slice-header for id of panel-title
2016-10-25 10:44:29 -07:00
..
SqlLab [hotfix] Query search is unreachable 2016-10-24 17:54:43 -07:00
components [sqllab] add support for results backends (#1377) 2016-10-20 23:40:24 -07:00
dashboard Fixing explore actions & slice controller interactions (#1292) 2016-10-07 14:06:26 -07:00
explore Added url shortner for sharing query link (#1314) 2016-10-24 17:49:23 -07:00
explorev2 Adjusted top margin of heatmap plot to get it working in V2 (#1361) 2016-10-25 10:44:29 -07:00
modules [hotfix] handling json errors in explore view 2016-10-12 19:42:03 -07:00
caravel-select2.js Caravel - renaming files 2016-03-28 21:53:24 -07:00
common.js [js linting] use airbnb eslint settings (#796) 2016-07-27 16:57:05 -07:00
css-theme.js [SQL Lab] moving the db/schema/table select to the left (#1038) 2016-08-30 11:08:41 -07:00
index.jsx [js linting] use airbnb eslint settings (#796) 2016-07-27 16:57:05 -07:00
reduxUtils.js [SQLLab] Fix the usage of Redux DevTools Enhancer (#1278) 2016-10-11 15:27:25 -07:00
standalone.js Fixing explore actions & slice controller interactions (#1292) 2016-10-07 14:06:26 -07:00
welcome.js [welcome] removing calendar heatmap from welcome page (#1119) 2016-09-16 08:32:59 -07:00