Closed greygatch closed 6 years ago
Are there plans to support v4? Getting the Uncaught TypeError: Cannot read property 'category20' of undefined
error at the moment. Planning to downgrade d3 in the meantime.
Same problem here.
I've begun to update the code here:
https://github.com/greygatch/react-easy-chart/tree/feature/update-for-d3-v4
Great effort @greygatch, please make a PR when you think it is ready
@harunhasdal I'm having some trouble initializing the pie charts. Could you take a look at the index files from that branch in modules/pie-chart?
We moved to d3 v4 in 1.0.0 release
In v4, it looks like the color scaling methods have changed. I'd guess other methods have changed, too.
For example,
d3.scale.category20()
is no longer a thing. See v4 docs.