betodealmeida closed pull request #4601: Instantiate ChartContainer with width URL: https://github.com/apache/incubator-superset/pull/4601
This is a PR merged from a forked repository. As GitHub hides the original diff on merge, it is displayed below for the sake of provenance: As this is a foreign pull request (from a fork), the diff is supplied below (as it won't show otherwise due to GitHub magic): diff --git a/superset/assets/javascripts/explore/components/ExploreChartPanel.jsx b/superset/assets/javascripts/explore/components/ExploreChartPanel.jsx index bfb24fff7f..1ccab1afa3 100644 --- a/superset/assets/javascripts/explore/components/ExploreChartPanel.jsx +++ b/superset/assets/javascripts/explore/components/ExploreChartPanel.jsx @@ -44,6 +44,7 @@ class ExploreChartPanel extends React.PureComponent { datasource={this.props.datasource} formData={this.props.form_data} height={this.getHeight()} + width={parseInt(this.props.width, 10)} slice={this.props.slice} chartKey={this.props.chart.chartKey} setControlValue={this.props.actions.setControlValue} ---------------------------------------------------------------- This is an automated message from the Apache Git Service. To respond to the message, please log on GitHub and use the URL above to go to the specific comment. For queries about this service, please contact Infrastructure at: us...@infra.apache.org With regards, Apache Git Services