chinmaymk/angular-charts

if title is false height ist not correct in setContainers

Opened this issue · 0 comments

hesst commented

https://github.com/chinmaymk/angular-charts/blob/master/src/angular-charts.js#L189
if title is false then the div

{{acConfig.title}}

is commented out
then getChildrenByClassname(childrens, 'ac-title') returns the last existing element from parameter childrens (thats another bug I think)
hight is sybstracted by the clientHeight of this (improper) element