dc.js icon indicating copy to clipboard operation
dc.js copied to clipboard

quicksort error

Open leninworld opened this issue 9 years ago • 4 comments

I am getting below error "dc.js:1342 Uncaught TypeError: Cannot read property 'quicksort' of undefined(…)"

Please let me know if there is any fix for this or I do something wrong.

Thank you!

leninworld avatar Jul 10 '17 16:07 leninworld

Sounds like crossfilter is coming up undefined somehow. dc.js can take any group- and dimension-like objects that look like crossfilter objects, but it still depends on crossfilter for some sorting functions.

What module system are you using (requireJS, webpack, ...?)

gordonwoodhull avatar Jul 11 '17 14:07 gordonwoodhull

It's requireJS

leninworld avatar Jul 11 '17 15:07 leninworld

I'm going to guess this is #1304, although I'm surprised crossfilter is undefined instead of producing an error earlier (like a 404).

gordonwoodhull avatar Jul 11 '17 15:07 gordonwoodhull

Hope my guess was correct. Please comment if it was something else.

gordonwoodhull avatar Nov 14 '17 04:11 gordonwoodhull