esbullington / react-d3

Modular React charts made with d3.js
https://reactiva.github.io/react-d3-website/
MIT License
1.75k stars 179 forks source link

LineChart not passing on sideOffset property #317

Closed bradtwurst closed 8 years ago

bradtwurst commented 8 years ago

https://github.com/esbullington/react-d3/blob/master/src/linechart/LineChart.jsx#L61-L64

The code

legend={props.legend}
data={props.data}

needs an addition property passed on

legend={props.legend}
sideOffset={props.sideOffset}
data={props.data}
yang-wei commented 8 years ago

solve in https://github.com/yang-wei/rd3/pull/7