mcaule / d3-timeseries

Time series charting library based on d3.js
143 stars 39 forks source link

d3 version dependency hell #7

Open Djoels opened 6 years ago

Djoels commented 6 years ago

I'm a bit stuck with featuring different visualizations on a dashboard I'm making. Some features rely on d3v3 and your latest version of d3-timeseries relies on d3v4...

I'm trying to get an older version of your git repo working (when it was still d3v3) but this doesn't seem to work... Is the sample code so much different when using commit 985d1077a707615fbcbb5ff25d785d521b918138? when I load the given JS file it doesn't recognise d3_timeseries in the statement chart = d3_timeseries();

I thought that maybe I had to "build" the JS file with the given bower.json.

As you probably figured, I'm not a routined frontend developer at all, so this is a bit confusing. Any hints on how to get the older version working? Do I call a different function?

Djoels commented 6 years ago

I succeeded at using the unmodified older version using the d3.timeseries() call, instead of d3_timeseries().