Hi 
I am using Google charts in my Project and have created a directive for the 
same.
The issue with chart is whenever I am passing data from Parent component to 
directive google.visualization is not getting loaded.
But if I wrap the with setTimeout method , its getting loaded.Has anyone 
faced such a issue.
Help would be appreciate

Regards,
Komal
setTimeout(() => {
google.load("visualization", "1", {packages: ["corechart"]});
google.setOnLoadCallback(this.drawChart());
}, 1000); 

-- 
You received this message because you are subscribed to the Google Groups 
"Angular and AngularJS discussion" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/angular/fd9e7e83-1167-401b-87f6-05f65c92298a%40googlegroups.com.

Reply via email to