You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
charts is throwing this error whenever i resize my window.
angular.js:12477 Gracefully handling JS exception: "Error: Please set height and width for the chart element at validateHeightAndWidth (http://localhost:7002/bower_components/angular-charts.js:138:15) at init (http://localhost:7002/bower_components/angular-charts.js:117:14) at http://localhost:7002/bower_components/angular-charts.js:873:11 at http://localhost:7002/bower_components/angular.js:17855:31 at completeOutstandingRequest (http://localhost:7002/bower_components/angular.js:5507:10) at http://localhost:7002/bower_components/angular.js:5784:7", caused by: undefined
I have the height and width set for all charts via CSS
ive tried using waitForHeightAndWidth: false it still happens
it only happens when i resize brower window
angular v1.4.7 / angular charts v0.2.7 (installed via bower, my project bower says ^0.2.7 but the bower.json in the bower_components/angular-charts dir says v0.2.6, not sure what is correct)
cheers
The text was updated successfully, but these errors were encountered:
@daniel-halldorsson@MaximilianLloyd
I add two scope variables in directive, and now it works. But this is not a final solution, I am still wait for official resolution.
Add two scope variables in directive
Replace the places using element[0]'s width and height to new variables
charts is throwing this error whenever i resize my window.
angular.js:12477 Gracefully handling JS exception: "Error: Please set height and width for the chart element at validateHeightAndWidth (http://localhost:7002/bower_components/angular-charts.js:138:15) at init (http://localhost:7002/bower_components/angular-charts.js:117:14) at http://localhost:7002/bower_components/angular-charts.js:873:11 at http://localhost:7002/bower_components/angular.js:17855:31 at completeOutstandingRequest (http://localhost:7002/bower_components/angular.js:5507:10) at http://localhost:7002/bower_components/angular.js:5784:7", caused by: undefined
waitForHeightAndWidth: false
it still happenscheers
The text was updated successfully, but these errors were encountered: