n3-charts / line-chart

Awesome charts for AngularJS.
http://n3-charts.github.io/line-chart/
MIT License
1.2k stars 179 forks source link

Error: this._dispatch[event] is undefined #529

Closed skirscher closed 7 years ago

skirscher commented 7 years ago

Stack trace (minus primary url for security purposes):

EventManager.prototype.trigger@/LineChart.js:718:17 LineChart/this.link/updateAll@/LineChart.js:3137:25 $RootScopeProvider/this.$get</Scope.prototype.$digest@/angular-1.5.6/angular.js:17220:23 $RootScopeProvider/this.$get</Scope.prototype.$apply@/angular-1.5.6/angular.js:17486:13 done@/angular-1.5.6/angular.js:11637:36 completeRequest@/angular-1.5.6/angular.js:11843:7 requestLoaded@/angular-1.5.6/angular.js:11776:9

I do not know if this is related to d3.js v4 or not at this point. Trying to get the provided sample code working within a project which I plan to add charts into. Currently nothing related to the line-chart library is functional/displaying and up until recently I was getting errors upon moving my mouse cursor around the page, 1 error with each pixel that the mouse moved.

I can provide better information via email at: stephenkirscher@gmail.com; please contact me for such information.

chaosmail commented 7 years ago

Please use D3.js Version 3, looks like an error from the D3 API

skirscher commented 7 years ago

Thanks for the response. I'll see if I can find it on Monday and let you know if I have any further issues

On Oct 28, 2016 4:17 PM, "chaosmail" notifications@github.com wrote:

Please use D3.js Version 3, looks like an error from the D3 API

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/n3-charts/line-chart/issues/529#issuecomment-257031006, or mute the thread https://github.com/notifications/unsubscribe-auth/APKGjb03aRPXbNn1-fUly6bI-c2uArE4ks5q4maFgaJpZM4Kj3UC .

skirscher commented 7 years ago

Updated my d3js to version 3 instead of 4 per recommendation. This resolved the issue.