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

Legends should be customizable from parent charts #316

Closed notpeelz closed 8 years ago

kaiyuzhao commented 8 years ago

Agree. I am looking for a way to customize the size of font in the legend, but haven't figured it out yet

notpeelz commented 8 years ago

There doesn't seem to be any way as yet; most-derived components rely upon the common Chart, but don't relay any extra props. For instance, LineChart only passes the legend bool prop: src/linechart/LineChart.jsx#L63

yang-wei commented 8 years ago

will work on this after clean up work done in https://github.com/yang-wei/rd3