krispo / angular-nvd3

AngularJS directive for NVD3 reusable charting library (based on D3). Easily customize your charts via JSON API.
http://krispo.github.io/angular-nvd3
MIT License
1.29k stars 377 forks source link

angular.js:13920 TypeError: Cannot read property 'graphs' of undefined #765

Open fifty56 opened 5 years ago

fifty56 commented 5 years ago

hi,

my environment:

the following error occurs when page is loading:

angular.js:13920 TypeError: Cannot read property 'graphs' of undefined at Object.clearElement (http://.../angular-nvd3.js:291:36) at Object.updateWithOptions (http://.../angular-nvd3.js:97:39) at Object.refresh (http://.../angular-nvd3.js:53:39) at http://.../angular-nvd3.js:449:68 at http://.../angular-nvd3.js:517:43 at Scope.$digest (http://.../angular.js:17524:23) at Scope.$apply (http://.../angular.js:17790:24) at done (http://.../angular.js:11831:47)