Open jacobypl opened 7 years ago
I implemented some workaround a long time ago but it doesn't work 100% of the time. Do you use ng-show/hide
or a framework that have tabs or something like that?
Nah, im not using ng-show/hide on this feature. I'm not using tabs also - ui.router for routing just.
What does ui.router use under the hood to show and hide pages?
Hi,
i have issues with this option. First, my canvas was blank. After searching a solution i found out cause of this. In another topic there was a fix - set responsive false. So it worked! @jtblin said here https://github.com/jtblin/angular-chart.js/issues/29
But i need to make it responsive. :) And this is a frustrating.
So, settings:
Controller:
HTML:
If I set responsive false - everything is alright. If it's set true - chart is not rendering without any issue in console. Chart is still in DOM (iframe and canvas) - but page is blank.
Cheers.