{"action":"created","issue":{"url":"https://api.github.com/repos/novus/nvd3/issues/1219","labels_url":"https://api.github.com/repos/novus/nvd3/issues/1219/labels{/name}","comments_url":"https://api.github.com/repos/novus/nvd3/issues/1219/comments","events_url":"https://api.github.com/repos/novus/nvd3/issues/1219/events","html_url":"https://github.com/novus/nvd3/issues/1219","id":103582696,"number":1219,"title":"watchTransition is not a function","user":{"login":"mvanio","id":1436158,"avatar_url":"https://avatars.githubusercontent.com/u/1436158?v=3","gravatar_id":"","url":"https://api.github.com/users/mvanio","html_url":"https://github.com/mvanio","followers_url":"https://api.github.com/users/mvanio/followers","following_url":"https://api.github.com/users/mvanio/following{/other_user}","gists_url":"https://api.github.com/users/mvanio/gists{/gist_id}","starred_url":"https://api.github.com/users/mvanio/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mvanio/subscriptions","organizations_url":"https://api.github.com/users/mvanio/orgs","repos_url":"https://api.github.com/users/mvanio/repos","events_url":"https://api.github.com/users/mvanio/events{/privacy}","received_events_url":"https://api.github.com/users/mvanio/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":2,"created_at":"2015-08-27T19:57:26Z","updated_at":"2015-09-28T23:16:23Z","closed_at":"2015-08-28T16:45:56Z","body":"While creating a multiBarHorizontalChart I stumbled across this issue...\r\n\r\n    Uncaught TypeError: groups.exit(...).watchTransition is not a function\r\n    (anonymous function) @ nv.d3.js:7166\r\n    (anonymous function) @ d3.min.js:5\r\n    H @ d3.min.js:1\r\n    Hl.each @ d3.min.js:5\r\n    chart @ nv.d3.js:7091\r\n    ka.call @ d3.min.js:3\r\n    (anonymous function) @ nv.d3.js:7620\r\n    (anonymous function) @ d3.min.js:3\r\n    H @ d3.min.js:1\r\n    ka.each @ d3.min.js:3\r\n    chart @ nv.d3.js:7500\r\n    ka.call @ d3.min.js:3\r\n    (anonymous function) @ pupil_data.js?01aa6aac26753071c816c9533f4dbaf6578db244:96\r\n    (anonymous function) @ nv.d3.js:94\r\n\r\nThe data I have is very straightforward and follows the example here: http://nvd3.org/examples/multiBarHorizontalData.json. There are no transitions required. I called the chart with this;\r\n\r\n      nv.addGraph(function() {\r\n        chart_reading = nv.models.multiBarHorizontalChart()\r\n          .x(function(d) { return d.label })\r\n          .y(function(d) { return d.value })\r\n          .margin({left: 100})\r\n          .showValues(true)\r\n          .showControls(false)\r\n          .stacked(false)\r\n          //.groupSpacing(0.2)\r\n          ;\r\n\r\n        chart_reading.yAxis.tickFormat(d3.format(',.2f'));\r\n\r\n        d3.select('#charts svg')\r\n          .datum(testPupil)\r\n          .call(chart_reading)\r\n        ;\r\n\r\nAnd the error only occurs when the .call() function is called. I'm using Chrome 44.0.2403.157, Meteor 1.1.0.2.\r\nCheers!\r\n"},"comment":{"url":"https://api.github.com/repos/novus/nvd3/issues/comments/143899421","html_url":"https://github.com/novus/nvd3/issues/1219#issuecomment-143899421","issue_url":"https://api.github.com/repos/novus/nvd3/issues/1219","id":143899421,"user":{"login":"DenJohX","id":991651,"avatar_url":"https://avatars.githubusercontent.com/u/991651?v=3","gravatar_id":"","url":"https://api.github.com/users/DenJohX","html_url":"https://github.com/DenJohX","followers_url":"https://api.github.com/users/DenJohX/followers","following_url":"https://api.github.com/users/DenJohX/following{/other_user}","gists_url":"https://api.github.com/users/DenJohX/gists{/gist_id}","starred_url":"https://api.github.com/users/DenJohX/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/DenJohX/subscriptions","organizations_url":"https://api.github.com/users/DenJohX/orgs","repos_url":"https://api.github.com/users/DenJohX/repos","events_url":"https://api.github.com/users/DenJohX/events{/privacy}","received_events_url":"https://api.github.com/users/DenJohX/received_events","type":"User","site_admin":false},"created_at":"2015-09-28T23:16:23Z","updated_at":"2015-09-28T23:16:23Z","body":"I was getting the same error. It happens that I was including asynchronously the d3 and nvd3 scripts, but is mandatory to load d3 before nvd3. As nvd3 redefines this function over the d3 selections."}}