I was getting the error: "Please set height and width for the chart element." if I put the chart div in an ng-show="toggle" div.
I went to Github, downloaded your code and tests.
When I ran Grunt I got: "INFO [PhantomJS 1.9.8 (Windows 7)]: Connected on socket VgpEwLSnvF4moJQHXDf_ with id 47713136
PhantomJS 1.9.8 (Windows 7) angularCharts styles should add styles to the document FAILED
Expected '@charset "UTF-8";[ng:cloak],[ng-cloak],[data-ng-cloak],[x-ng-
cloak],.ng-cloak,.x-ng-cloak,.ng-hide:not(.ng-hide-animate){display:none !import
ant;}ng:form{display:block;}' to contain '.ng-hide{display:none'.
PhantomJS 1.9.8 (Windows 7): Executed 18 of 18 (1 FAILED) (0.314 secs / 0.314 se
cs)
Warning: Task "karma:unit" failed. Use --force to continue.
I was getting the error: "Please set height and width for the chart element." if I put the chart div in an ng-show="toggle" div.
I went to Github, downloaded your code and tests.
When I ran Grunt I got: "INFO [PhantomJS 1.9.8 (Windows 7)]: Connected on socket VgpEwLSnvF4moJQHXDf_ with id 47713136 PhantomJS 1.9.8 (Windows 7) angularCharts styles should add styles to the document FAILED Expected '@charset "UTF-8";[ng:cloak],[ng-cloak],[data-ng-cloak],[x-ng- cloak],.ng-cloak,.x-ng-cloak,.ng-hide:not(.ng-hide-animate){display:none !import ant;}ng:form{display:block;}' to contain '.ng-hide{display:none'. PhantomJS 1.9.8 (Windows 7): Executed 18 of 18 (1 FAILED) (0.314 secs / 0.314 se cs) Warning: Task "karma:unit" failed. Use --force to continue.
Aborted due to warnings.