react-d3 / react-d3-basic

Basic d3 charts in React.js, only include: line, bar, pie, scatter, area charts.
http://reactd3.org/docs/basic
221 stars 117 forks source link

Added the width and height property to the parent div #37

Closed email2vimalraj closed 5 years ago

email2vimalraj commented 8 years ago

The parent div of any chart elements (i.e., Bar, Line, etc., ) are not using the width and height property defined by the user. This PR will adjust the div to the proper size as per user need. Faced this issue while using adjacent bar charts with two columns in the bootstrap row.

email2vimalraj commented 8 years ago

@chilijung : Kindly review this PR.

jaredsohn commented 7 years ago

I am interested in this, too; it would be great if it would be reviewed and merged into master.

email2vimalraj commented 7 years ago

@chilijung : Any updates?