Open carolineBda opened 8 years ago
Facing same issue without tabs :(
same here, also without tabs, happens on resize
@carolineBda @umair321 @daniel-halldorsson 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.
1) Add two scope variables in directive
2) Replace the places using element[0]'s width and height to new variables
3) In your view template, add new attributes
4) In your controller, define the values
You may refer to codes of my project: angular-charts.min.js dashboard.html dashboard-controller.js
Here is the screenshot, hope this method will help you solve the problem
Hello,
If you try to display a chart within an tab (or anything which will gets loaded with a style
display:none
) then the error "Please set height and width for the chart element" is throw. Even if an height and width is set to the char class.