Datejs and d3.js conflict with transition

704 Views Asked by At

I've been using both D3.js and date.js (http://www.datejs.com/) and find out that the transition() method in D3 doesn't work. - that is I can't make any animations with D3 when date.js is also included in the same HTML file.

I suppose it should be scope or namespace conflict, but I don't know how to fix it. All D3 codes are in one global variable, but it doesn't help. Anyone have solutions for this, except for not using one of these. :-)?

1

There are 1 best solutions below

0
On

Known issue, see mbostock's issue's thread. If you need date.js get the one off the trunk as it does not conflict. https://github.com/mbostock/d3/issues/1302