angular-charts
angular-charts copied to clipboard
chart in a bootstrap tab
After hours of debugging I noticed that in the function:
function getChildrenByClassname(childrens, className) {
when it's called by:
height -= getChildrenByClassname(childrens, 'ac-title')[0].clientHeight;
In the following part:
for (var i in childrens) {
The "i" receives not just 0,1,2 but also many other strings which are not numbers. Can you please change it to:
for (var i = 0; i < childrens.length; i++) {
Instead? thanks!