chinmaymk / angular-charts

angular directives for creating common charts using d3
MIT License
1.03k stars 270 forks source link

Please set height and width for the chart element for example code with AngularJS 1.7.6 #233

Open tusharagaarwal opened 5 years ago

tusharagaarwal commented 5 years ago

Getting following error even with the sample code in the repo. Already added solution suggested in issue #204,179,103 Additional dependencies injected into project:

  1. Angular Route (v1.7.8)
  2. Angular Material (v1.1.12)

Error: Please set height and width for the chart element at Object.i [as link] (angular-charts.min.js:1) at angular.js:1365 at angular.js:11237 at Ba (angular.js:11243) at p (angular.js:10562) at g (angular.js:9809) at p (angular.js:10556) at g (angular.js:9809) at angular.js:9674 at Object.link (angular-route.js:1260) "

"