Advertisement
Guest User

Untitled

a guest
Oct 24th, 2016
54
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.77 KB | None | 0 0
  1. angular.module('myapp',
  2. ['highcharts-ng',
  3. // more modules here..
  4. ])
  5.  
  6. <div class="row">
  7. <highchart id="chart1" config="chartConfig"></highchart>
  8. </div>
  9.  
  10. function DashboardController ($scope, Principal, LoginService, $state) {
  11. $scope.chartConfig ={
  12. ....// configuration details
  13. };
  14. }();
  15.  
  16. angular.js:13920 TypeError: Cannot read property 'Chart' of undefined
  17. at initChart (highcharts-ng.js:334)
  18. at linkWithHighcharts (highcharts-ng.js:349)
  19. at highchartsCb (highcharts-ng.js:463)
  20. at processQueue (angular.js:16383)
  21. at angular.js:16399
  22. at Scope.$eval (angular.js:17682)
  23. at Scope.$digest (angular.js:17495)
  24. at Scope.$apply (angular.js:17790)
  25. at done (angular.js:11831)
  26. at completeRequest (angular.js:12033)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement