diff --git a/superset/assets/javascripts/explore/components/ExploreChartPanel.jsx b/superset/assets/javascripts/explore/components/ExploreChartPanel.jsx index 7834787c785..abb1bc0284f 100644 --- a/superset/assets/javascripts/explore/components/ExploreChartPanel.jsx +++ b/superset/assets/javascripts/explore/components/ExploreChartPanel.jsx @@ -32,6 +32,22 @@ class ExploreChartPanel extends React.PureComponent { return parseInt(this.props.height, 10) - headerHeight; } + renderChart() { + return ( + + ); + } + render() { if (this.props.standalone) { // dom manipulation hack to get rid of the boostrap theme's body background @@ -57,17 +73,7 @@ class ExploreChartPanel extends React.PureComponent { style={{ height: this.props.height }} header={header} > - + {this.renderChart()} );