react-linechart icon indicating copy to clipboard operation
react-linechart copied to clipboard

xParser and xDisplay not working

Open laa413 opened this issue 7 years ago • 1 comments

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?

laa413 avatar Jun 19 '17 15:06 laa413

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.

rafaelquintanilha avatar Jun 19 '17 19:06 rafaelquintanilha