react-linechart
react-linechart copied to clipboard
xParser and xDisplay not working
I have been trying to work with these two attributes of the LineChart, but the d3.time.format function has changed. I tried converting to the latest function call from d3 but all I obtained was an error of:
./src/~/d3-time-format/build/d3-time-format.js
Line 3: 'define' is not defined no-undef
Line 3: 'define' is not defined no-undef
Is this something wrong with what I am doing?
According to the changelog of d3 time formats the API has changed. While a update for v4 does not come out, you might want to downgrade your d3 to v3.